Dinamically update options based on another input
so the question is pretty straight forward, is there a way to update the options of a select field based on another field?
so these options would be nice if I could add an where query
based on this input
so these options would be nice if I could add an where query
based on this input
Solution
You need to use
https://filamentphp.com/docs/3.x/forms/advanced
->live() in such a case. Take a look in the docs to figure all related methods like ->afterStateUpdated()https://filamentphp.com/docs/3.x/forms/advanced