Strange broken formatting when enabling searchable on select.

Hi there! Done my best to google the answers for this one but im pretty new to filament (and laravel) so my terms might not be correct. I have a pretty simple select field.
php
Forms\Components\Select::make('contact_id')
->label('Contact')
->relationship('contact')
->getOptionLabelFromRecordUsing(fn (Model $record) => "{$record->first_name} {$record->last_name}")
->createOptionForm(function () use ($form) {
return ContactResource::formSchema();
})
->preload()
->required(),
php
Forms\Components\Select::make('contact_id')
->label('Contact')
->relationship('contact')
->getOptionLabelFromRecordUsing(fn (Model $record) => "{$record->first_name} {$record->last_name}")
->createOptionForm(function () use ($form) {
return ContactResource::formSchema();
})
->preload()
->required(),
This renders properly (seen in the first attached screenshot). However, adding ->searchable() creates a really weird formatting issue (second screenshot). This is a fairly vanilla project. So im not sure what could be causing this. Is this common in anyway? I've tried all the clearing/rebuilding steps but still getting this issue. Thanks for your time!
No description
No description
Solution:
Nevermind! Just updated to v3.2.82 and that fixed it!
Jump to solution
1 Reply
Solution
karpadiem
karpadiem5mo ago
Nevermind! Just updated to v3.2.82 and that fixed it!
Want results from more Discord servers?
Add your server