@php $isLocation = $getIsLocation(); $datalistOptions = []; $extraAlpineAttributes = $getExtraAlpineAttributes(); $id = $getIsLocation() ? $getId() . '-fgm-address' : $getId(); $isConcealed = $isConcealed(); $isDisabled = $isDisabled(); $isPrefixInline = $isPrefixInline(); $isSuffixInline = $isSuffixInline(); $statePath = $getStatePath(); $prefixActions = $getPrefixActions(); $prefixIcon = $getPrefixIcon(); $prefixLabel = $getPrefixLabel(); $suffixActions = $getSuffixActions(); $suffixIcon = $getSuffixIcon(); $suffixLabel = $getSuffixLabel(); $mask = null; @endphp
{{-- merge($getExtraAlpineAttributes(), escape: false) --}} {{-- ->merge([ --}} {{-- 'autocapitalize' => $getAutocapitalize(), --}} {{-- 'autocomplete' => $getAutocomplete(), --}} {{-- 'autofocus' => $isAutofocused(), --}} {{-- 'disabled' => $isDisabled, --}} {{-- 'dusk' => "filament.forms.{$statePath}", --}} {{-- 'id' => $id, --}} {{-- 'inputmode' => $getInputMode(), --}} {{-- 'list' => null, --}} {{-- 'max' => null, --}} {{-- 'maxlength' => null, --}} {{-- 'min' => null, --}} {{-- 'minlength' => null, --}} {{-- 'placeholder' => $getPlaceholder(), --}} {{-- 'readonly' => $isReadOnly(), --}} {{-- 'required' => $isRequired() && (! $isConcealed), --}} {{-- 'type' => 'text', --}} {{-- $applyStateBindingModifiers('wire:model') => (! $isLocation) ? $statePath : null, --}} {{-- ], escape: false) --}} {{-- ->class([ --}} {{-- 'filament-forms-input block w-full transition duration-75 shadow-sm outline-none sm:text-sm focus:relative focus:z-[1] focus:ring-1 focus:ring-inset disabled:opacity-70 dark:bg-gray-700 dark:text-white', --}} {{-- 'rounded-s-lg' => ! ($prefixLabel || $prefixIcon), --}} {{-- 'rounded-e-lg' => ! ($suffixLabel || $suffixIcon), --}} {{-- ]) --}} {{-- }} --}} {{-- /> --}} @if ($getIsLocation()) @endif