diff --git a/packages/forms/resources/views/components/tags-input.blade.php b/packages/forms/resources/views/components/tags-input.blade.php index 342c78364b..6973fd055a 100644 --- a/packages/forms/resources/views/components/tags-input.blade.php +++ b/packages/forms/resources/views/components/tags-input.blade.php @@ -16,7 +16,6 @@ x-data="tagsInputFormComponent({ state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $statePath . '\')') }}, })" - wire:ignore {{ $attributes ->merge($getExtraAttributes(), escape: false) @@ -24,91 +23,92 @@ ->class(['filament-forms-tags-input-component']) }} > -
! $errors->has($statePath), +
+
! $errors->has($statePath), 'border-danger-600 ring-danger-600 dark:border-danger-400 dark:ring-danger-400' => $errors->has($statePath), - ]) - > - @unless ($isDisabled) -
- class(['webkit-calendar-picker-indicator:opacity-0 block w-full border-0 sm:text-sm dark:bg-gray-700 dark:text-gray-200 dark:placeholder-gray-400']) }} - /> + } + }" + x-on:blur="createTag()" + x-on:paste="$nextTick(() => { + const pattern = @js($splitKeys) + .map((key) => key.replace(/[/\-\\^$*+?.()|[\]{}]/g, '\\$&')) + .join('|') - - @foreach ($getSuggestions() as $suggestion) -