<td class="w-1/3 p-0">
<x-filament-forms::select
x-model="row.fieldType"
:disabled="(! $canEditFieldTypes()) || $isDisabled"
:canSelectPlaceholder="$canSelectPlaceholder()"
:attributes="
\Filament\Support\prepare_inherited_attributes(
new \Illuminate\View\ComponentAttributeBag([
'x-on:input.debounce.' . ($debounce ?? '500ms') => 'updateState',
])
)
"
class="font-mono"
>
@foreach ($getFieldTypes() as $fieldType => $fieldTypeLabel)
<option value="{{ $fieldType }}">{{ $fieldTypeLabel }}</option>
@endforeach
</x-filament-forms::select>
</td>
<td class="w-1/3 p-0">
<x-filament-forms::select
x-model="row.fieldType"
:disabled="(! $canEditFieldTypes()) || $isDisabled"
:canSelectPlaceholder="$canSelectPlaceholder()"
:attributes="
\Filament\Support\prepare_inherited_attributes(
new \Illuminate\View\ComponentAttributeBag([
'x-on:input.debounce.' . ($debounce ?? '500ms') => 'updateState',
])
)
"
class="font-mono"
>
@foreach ($getFieldTypes() as $fieldType => $fieldTypeLabel)
<option value="{{ $fieldType }}">{{ $fieldTypeLabel }}</option>
@endforeach
</x-filament-forms::select>
</td>