Dependent query on table filters.
I am trying to filter table data and create a form to filter, It is working fine as expected.But now I have an requirement where the filter dropdown list is dependent on the other filter field value. How can I query based on the form field data is changed? I have attached the gif image for better visualization of the requirement.
For eg:
Once the first field is change now I want to query the server and get only those data related to field one and show in select dropdown menu.
![No description](https://cdn.answeroverflow.com/1037607380898295918/filtering.gif)
2 Replies
Hey @dipbazz ,
Maybe this post can be helpful for you! 👀
https://stackoverflow.com/questions/64377293/update-select-option-list-based-on-other-select-field-selection-ant-design
Stack Overflow
Update Select Option list based on other Select field selection ant...
<Form
layout="vertical"
size="medium"
className="test-form"
requiredMark={false}
onFinish={onFinish}
>
<Form.Item
...
absent-sapphire•2y ago
Thank you @Omer, I will try it and let you know if that helped me.