diff --git a/resources/views/components/forms/button.blade.php b/resources/views/components/forms/button.blade.php index f91a53b77..460e5ac26 100644 --- a/resources/views/components/forms/button.blade.php +++ b/resources/views/components/forms/button.blade.php @@ -9,7 +9,7 @@ > {{ $slot }} - @if ($attributes->whereStartsWith('wire:click')->first() && $attributes->get('type') === 'submit') + @if ($attributes->whereStartsWith('wire:click')->first()) @endif diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index e4ac66c17..b1b9a5d40 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -47,7 +47,7 @@ class="relative w-auto h-auto"> @endif @endif