@php use Filament\Support\Enums\Alignment; $isDisabled = $isDisabled(); $state = $getState(); $mask = $getMask(); $alignment = $getAlignment() ?? Alignment::Start; if (! $alignment instanceof Alignment) { $alignment = filled($alignment) ? (Alignment::tryFrom($alignment) ?? $alignment) : null; } if (filled($mask)) { $type = 'text'; } else { $type = $getType(); } $xmask = "\$money(\$input,'$decimalSeparator','$thousandSeparator',$precision)"; $xchange = <<merge($getExtraAttributes(), escape: false) ->class([ 'fi-ta-text-input', 'px-3 py-4' => ! $isInline(), ]) }} > replace(',','') }}" x-ref="newState" /> {{-- format-ignore-start --}} {{-- format-ignore-end --}}