@php use Filament\Support\Facades\FilamentView; $hasInlineLabel = $hasInlineLabel(); $isConcealed = $isConcealed(); $isDisabled = $isDisabled(); $rows = $getRows(); $shouldAutosize = $shouldAutosize(); $statePath = $getStatePath(); $initialHeight = (($rows ?? 2) * 1.5) + 0.75; @endphp
$hasInlineLabel, ]) > {{ $getLabel() }}
merge([ 'autocomplete' => $getAutocomplete(), 'autofocus' => $isAutofocused(), 'cols' => $getCols(), 'disabled' => $isDisabled, 'id' => $getId(), 'maxlength' => (! $isConcealed) ? $getMaxLength() : null, 'minlength' => (! $isConcealed) ? $getMinLength() : null, 'placeholder' => $getPlaceholder(), 'readonly' => $isReadOnly(), 'required' => $isRequired() && (! $isConcealed), 'rows' => $rows, $applyStateBindingModifiers('wire:model') => $statePath, ], escape: false) ->class([ 'block h-full w-full border-none bg-transparent px-3 py-1.5 text-base text-gray-950 placeholder:text-gray-400 focus:ring-0 disabled:text-gray-500 disabled:[-webkit-text-fill-color:theme(colors.gray.500)] disabled:placeholder:[-webkit-text-fill-color:theme(colors.gray.400)] dark:text-white dark:placeholder:text-gray-500 dark:disabled:text-gray-400 dark:disabled:[-webkit-text-fill-color:theme(colors.gray.400)] dark:disabled:placeholder:[-webkit-text-fill-color:theme(colors.gray.500)] sm:text-sm sm:leading-6', 'resize-none' => $shouldAutosize, ]) }} >