Searchable crash

values on my select not showing option value after i add searchable, this my code Select::make('company_id') ->options(Company::all()->pluck('name', 'id')) ->searchable() ->relationship(name: 'company', titleAttribute: 'name') ->createOptionForm([ Forms\Components\TextInput::make('name')->label('Company Name') ->required(), ]) ->required(),
Solution:
You did search for something right? You probably want ->preload()
Jump to solution
1 Reply
Solution
Dennis Koch
Dennis Koch16mo ago
You did search for something right? You probably want ->preload()
Want results from more Discord servers?
Add your server