Refresh child selects

Hello, when I have several nested selects in the filter. How do I make it so that when I choose the value in one, its children clear the options before filling them in again? See the image. When I change the company, the old value remains as a number and it carries the new values. This is happening in the Table Builder filters. Thanks.
No description
Solution:
afterStateupdated and set the value of the fields empty/blank
Jump to solution
3 Replies
joao nivaldo
joao nivaldo3mo ago
Hi, does anyone know how to resolve this please?
Solution
toeknee
toeknee3mo ago
afterStateupdated and set the value of the fields empty/blank
joao nivaldo
joao nivaldo3mo ago
Thank you very much. It worked out really well.