@php use Filament\Forms\Components\TextInput\Actions\HidePasswordAction; use Filament\Forms\Components\TextInput\Actions\ShowPasswordAction; $datalistOptions = $getDatalistOptions(); $extraAlpineAttributes = $getExtraAlpineAttributes(); $id = $getId(); $isConcealed = $isConcealed(); $isDisabled = $isDisabled(); $isPasswordRevealable = $isPasswordRevealable(); $isPrefixInline = $isPrefixInline(); $isSuffixInline = $isSuffixInline(); $mask = $getMask(); $prefixActions = $getPrefixActions(); $prefixIcon = $getPrefixIcon(); $prefixLabel = $getPrefixLabel(); $suffixActions = $getSuffixActions(); $suffixIcon = $getSuffixIcon(); $suffixLabel = $getSuffixLabel(); $statePath = $getStatePath(); if ($isPasswordRevealable) { $xData = '{ isPasswordRevealed: false }'; } elseif (count($extraAlpineAttributes) || filled($mask)) { $xData = '{}'; } else { $xData = null; } if ($isPasswordRevealable) { $type = null; } elseif (filled($mask)) { $type = 'text'; } else { $type = $getType(); } @endphp @if ($datalistOptions) @foreach ($datalistOptions as $option) @endif