From 2c562de71aebe196f2763334c249456e6f0fb614 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 8 Apr 2023 13:07:18 +0000 Subject: [PATCH] Merge pull request #6151 from howdu/fix-dropdown-button-wire-stop --- resources/views/components/builder.blade.php | 4 ++++ resources/views/components/repeater.blade.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/resources/views/components/builder.blade.php b/resources/views/components/builder.blade.php index 2638cd85..98d64acb 100644 --- a/resources/views/components/builder.blade.php +++ b/resources/views/components/builder.blade.php @@ -163,6 +163,7 @@ title="{{ __('forms::components.builder.buttons.move_item_up.label') }}" type="button" wire:click.stop="dispatchFormEvent('builder::moveItemUp', '{{ $getStatePath() }}', '{{ $uuid }}')" + wire:target="dispatchFormEvent('builder::moveItemUp', '{{ $getStatePath() }}', '{{ $uuid }}')" wire:loading.attr="disabled" @class([ 'flex items-center justify-center flex-none w-10 h-10 text-gray-400 transition hover:text-gray-500', @@ -195,6 +196,7 @@ class="w-4 h-4 text-primary-500" title="{{ __('forms::components.builder.buttons.move_item_down.label') }}" type="button" wire:click.stop="dispatchFormEvent('builder::moveItemDown', '{{ $getStatePath() }}', '{{ $uuid }}')" + wire:target="dispatchFormEvent('builder::moveItemDown', '{{ $getStatePath() }}', '{{ $uuid }}')" wire:loading.attr="disabled" @class([ 'flex items-center justify-center flex-none w-10 h-10 text-gray-400 transition hover:text-gray-500', @@ -227,6 +229,7 @@ class="w-4 h-4 text-primary-500"