diff --git a/packages/forms/resources/views/components/file-upload.blade.php b/packages/forms/resources/views/components/file-upload.blade.php index 545714d350..bf522580e2 100644 --- a/packages/forms/resources/views/components/file-upload.blade.php +++ b/packages/forms/resources/views/components/file-upload.blade.php @@ -104,6 +104,11 @@ }, })" wire:ignore + wire:key="{{ $this->getId() }}.{{ $statePath }}.{{ $field::class }}.{{ + substr(md5(serialize([ + $isDisabled, + ])), 0, 64) + }}" {{ $attributes ->merge([ diff --git a/packages/forms/resources/views/components/key-value.blade.php b/packages/forms/resources/views/components/key-value.blade.php index 1d2b0f05dc..03470b6eec 100644 --- a/packages/forms/resources/views/components/key-value.blade.php +++ b/packages/forms/resources/views/components/key-value.blade.php @@ -39,7 +39,6 @@ x-load @endif x-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('key-value', 'filament/forms') }}" - wire:ignore x-data="keyValueFormComponent({ state: $wire.{{ $applyStateBindingModifiers("\$entangle('{$statePath}')") }}, })" @@ -48,6 +47,12 @@ ->merge($getExtraAlpineAttributes(), escape: false) ->class(['divide-y divide-gray-200 dark:divide-white/10']) }} + wire:ignore + wire:key="{{ $this->getId() }}.{{ $statePath }}.{{ $field::class }}.{{ + substr(md5(serialize([ + $isDisabled, + ])), 0, 64) + }}" >