@php $datalistOptions = $getDatalistOptions(); $sideLabelClasses = [ 'whitespace-nowrap group-focus-within:text-primary-500', 'text-gray-400' => ! $errors->has($getStatePath()), 'text-danger-400' => $errors->has($getStatePath()), ]; @endphp
merge($getExtraAttributes())->class(['flex items-center space-x-1 rtl:space-x-reverse group filament-forms-text-input-component']) }}> @if ($label = $getPrefixLabel()) {{ $label }} @endif
({$getJsonMaskConfiguration()})," : null }} state: $wire.{{ $applyStateBindingModifiers('entangle(\'' . $getStatePath() . '\')') }}, })" type="text" wire:ignore {{ $getExtraAlpineAttributeBag() }} @endunless dusk="filament.forms.{{ $getStatePath() }}" {!! ($autocapitalize = $getAutocapitalize()) ? "autocapitalize=\"{$autocapitalize}\"" : null !!} {!! ($autocomplete = $getAutocomplete()) ? "autocomplete=\"{$autocomplete}\"" : null !!} {!! $isAutofocused() ? 'autofocus' : null !!} {!! $isDisabled() ? 'disabled' : null !!} id="{{ $getId() }}" {!! ($inputMode = $getInputMode()) ? "inputmode=\"{$inputMode}\"" : null !!} {!! $datalistOptions ? "list=\"{$getId()}-list\"" : null !!} {!! filled($length = $getMaxLength()) ? "maxlength=\"{$length}\"" : null !!} {!! filled($value = $getMaxValue()) ? "max=\"{$value}\"" : null !!} {!! filled($length = $getMinLength()) ? "minlength=\"{$length}\"" : null !!} {!! filled($value = $getMinValue()) ? "min=\"{$value}\"" : null !!} {!! ($placeholder = $getPlaceholder()) ? "placeholder=\"{$placeholder}\"" : null !!} {!! ($interval = $getStep()) ? "step=\"{$interval}\"" : null !!} {!! $isRequired() ? 'required' : null !!} {{ $getExtraInputAttributeBag()->class([ 'block w-full transition duration-75 rounded-lg shadow-sm focus:border-primary-600 focus:ring-1 focus:ring-inset focus:ring-primary-600 disabled:opacity-70', 'dark:bg-gray-700 dark:text-white' => config('forms.dark_mode'), 'border-gray-300' => ! $errors->has($getStatePath()), 'dark:border-gray-600' => (! $errors->has($getStatePath())) && config('forms.dark_mode'), 'border-danger-600 ring-danger-600' => $errors->has($getStatePath()), ]) }} />
@if ($label = $getPostfixLabel()) {{ $label }} @endif
@if ($datalistOptions) @foreach ($datalistOptions as $option) @endif