Select Element - Without model
Hey, I'm trying to do the following:
Use a filament dropdown that is searchable but without referencing a model. The example I am using is for a county selection in the UK. I have an enum of Counties.
The field is shown inside its own field on a page that is a livewire component. The field works okay without the searchable but when this is added it's not populating the dropdown.
Is this because searchable is looking for a database model?
I'll write a code snippet later on, I'm unable to copy the code from my laptop.
2 Replies
Is this because searchable is looking for a database model?Not really. Hard to tell and we probably need to wait for the code.
You could use sushi and use a model, but not related to the db?