Select field doesn't render
I just updated to version 4, and the Select fields do not render properly at all.
This is my Select code:
The field seems to not be populated at all. If I remove native, searchable, and preload, the field works. Tried with/without my theme, same issue.
This console error shows up but I cannot make sense of it:

6 Replies
Ping
Your issue is a known problem when upgrading to Filament v4: the Select field (especially with ->native(false), ->searchable(), or ->preload()) does not render or populate, and you may see a JavaScript error like "Cannot read properties of undefined (reading 'appendChild')" in the console. This points to a bug in how the custom select is being initialized or rendered, which may be tied to compatibility or to how options/data are loaded in version 4.
Do you have old assets? Browser cache or didn't run
php artisan filament:assets?no browser cache, no old assets, the command has been run multiple times

this too, ToggleButtons
I've tried just about everything, deleted all caches manually etc, still no luck