@php $datalistOptions = $getDatalistOptions(); $sideLabelClasses = ['whitespace-nowrap group-focus-within:text-primary-500', 'text-gray-400' => !$errors->has($getStatePath()), 'text-danger-400' => $errors->has($getStatePath())]; $affixLabelClasses = ['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-2 rtl:space-x-reverse group filament-forms-text-input-component']) }}> @if (($prefixAction = $getPrefixAction()) && !$prefixAction->isHidden()) {{ $prefixAction }} @endif @if ($icon = $getPrefixIcon()) @endif @if ($label = $getPrefixLabel()) {{ $label }} @endif
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()), '!pr-8' => $isRevealable() xor $isCopyable() xor $isGeneratable(), '!pr-14' => ($isRevealable() && $isCopyable()) xor ($isRevealable() && $isGeneratable()) xor ($isCopyable() && $isGeneratable()), '!pr-20' => $isRevealable() && $isCopyable() && $isGeneratable(), ]) }} >
@if ($isGeneratable()) @endif @if ($isCopyable()) @endif @if ($isRevealable()) @endif
@if ($label = $getSuffixLabel()) {{ $label }} @endif @if ($icon = $getSuffixIcon()) @endif @if (($suffixAction = $getSuffixAction()) && !$suffixAction->isHidden()) {{ $suffixAction }} @endif
@if ($datalistOptions) @foreach ($datalistOptions as $option) @endif