Skip to content

Commit

Permalink
Instantly disable the place order button
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Jan 30, 2025
1 parent 9cbab10 commit 4a34f47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion resources/views/checkout/steps/payment_method.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
v-slot="{ mutate, variables }"
>
<fieldset>
<x-rapidez::button.conversion class="relative" type="submit" dusk="continue" loader>
<x-rapidez::button.conversion
class="relative"
type="submit"
dusk="continue"
loader
v-on:click="(event) => event.target.disabled = true"
>
@lang('Place order')
</x-rapidez::button.conversion>
</fieldset>
Expand Down

0 comments on commit 4a34f47

Please sign in to comment.