I have 2 “select” fields in custom widget. I want to filter 2nd field using value from 1st field.
1st field- category
2nd field- users.
I want to show users who belong to the selected category.
In which place of code I can put the “filtering” code?