I have the similar problem but im usign ->searchable()
public static function subfieldA(): Select
{
return Select::make('subfields.a')
->label(('tag110.subfields.a'))
->placeholder(('tag110.subfields.a'))
->prefix('$a')
->searchable()
->preload()
->live()
->partiallyRenderComponentsAfterStateUpdated(['subfields.b'])
->afterStateUpdated(function (Set $set) {
$set('subfields.b', null);
})
->options(fn () => Corporate::orderBy('name')->pluck('name', 'id')->toArray())
->createOptionForm([
TextInput::make('name')
->label(__('tag110.subfields.a'))
->required()
->unique(table: 'corporates', ignoreRecord: true)
->maxLength(255),
])
->createOptionUsing(function (array $data) {
return Corporate::create($data)->getKey();
})
->hiddenLabel();
}