F
Filament2mo ago
Mydnic

Search input not showing on searchable Select

After upgrading to v4, the searchable select is not working property. The search input is simply not displayed, even though it's present in the DOM. I did all the upgrade, clear laravel cache, clear browser cache. I'm not using any theme, I don't have any published vendor files. It's a very minimal filament installation for a very little project. I tried removing everything else from the form and just display the select, still same issue. Here's the code
public static function form(Schema $schema): Schema
{
return $schema
->components([

Select::make('test')
->label('Test')
->options([
'draft' => 'Draft',
'reviewing' => 'Reviewing',
'published' => 'Published',
])
->searchable(),

]);
}
public static function form(Schema $schema): Schema
{
return $schema
->components([

Select::make('test')
->label('Test')
->options([
'draft' => 'Draft',
'reviewing' => 'Reviewing',
'published' => 'Published',
])
->searchable(),

]);
}
` When I click the input to open the select, I see the 3 options, but the search input is not displayed. However I can see it in the DOM, with display none. When I remove that style from the devtools, the input appears. Strangely, when I open the select, I can start typing, and the filtering is working, just the search input is hidden, but I can type in
No description
No description
Solution:
it's PopUpOff extension
Jump to solution
23 Replies
Dennis Koch
Dennis Koch2mo ago
Any JS errors?
Mydnic
MydnicOP2mo ago
nothing in the console
Dennis Koch
Dennis Koch2mo ago
Are you on the latest version?
Mydnic
MydnicOP2mo ago
4.1.6 it seems I did composer update multiple times
Dennis Koch
Dennis Koch2mo ago
Can you try removing the filament assets in public and republish them with php artisan filament:assets
Mydnic
MydnicOP2mo ago
just removed css, js and fonts, then run the command, even run optimize:clear and hard reload in the browser, still the same issue
Dennis Koch
Dennis Koch2mo ago
Weird. I just tested it and it works in my project:
No description
Mydnic
MydnicOP2mo ago
yeah I figure that on a new install it should be fine I don't understand where this is coming from
Dennis Koch
Dennis Koch2mo ago
Sorry, me neither.
Mydnic
MydnicOP2mo ago
wha'ts weird is that it's also happening on production, so it's not a cache/local issue
Dennis Koch
Dennis Koch2mo ago
Chromium based browser or something else?
Mydnic
MydnicOP2mo ago
yeah, brave
Dennis Koch
Dennis Koch2mo ago
Did you try incognito mode (no extensions)?
Mydnic
MydnicOP2mo ago
oh it works incognito
Dennis Koch
Dennis Koch2mo ago
Great. We're on it
Mydnic
MydnicOP2mo ago
WAIT A MINUTE
Dennis Koch
Dennis Koch2mo ago
Any password manager or similar or userscripts?
Mydnic
MydnicOP2mo ago
god damnit
Solution
Mydnic
Mydnic2mo ago
it's PopUpOff extension
Mydnic
MydnicOP2mo ago
sigh
Dennis Koch
Dennis Koch2mo ago
Well, seems it does it's job ....
Mydnic
MydnicOP2mo ago
i'm so sorry lol
Dennis Koch
Dennis Koch2mo ago
No need to be sorry.

Did you find this page helpful?