Searchable and reactive select fields not functioning
So essentially what I'm trying to achieve is having a form where everything is disabled except the first field, which after getting selected enables the next field and loads options based on the first selection, which then enables the next.
This all works as intended until I make the fields searchable(). Once I do that, after I select the company, the next field goes from dark to light, indicating that it's no longer disabled, but clicking it does nothing. I can't select anything or really interact with it.
Again, if I remove the searchable(), then the field gets enabled as intended, showing the relevant options, and it all works.
Any help would be much appreciated!
Solution:Jump to solution
add in the product_id select
You should also use
live()
, Get
, Set
if you are using filament v3. Check the docs...4 Replies
are you using the panel builder or only the form builder?
This is in a Resource component in the admin panel, essentially the default suggested for creating/editing records
Solution
add in the product_id select
You should also use
live()
, Get
, Set
if you are using filament v3. Check the docsThat worked, thank you!