spotty-amberS
Refine3y ago
7 replies
spotty-amber

How to set useSelect filters dynamically?

I want to set filters value of useSelect hook dynamically based on some value from API query. Is there a way to to that?

For example, I have a form and based on one field value I want to filter the select query how can I filters based on the another form field value. I can get the form value using a watch but have hard time figuring out how to set the filters based on another field value.
Was this page helpful?