Multiple dependant fields / clearing on change
Hi all,
I am trying to create a bunch of dependent fields where season_id depends on series_id, event_id then depends on season_id and session_id then depends on event_id!
The method I have created works initially, but if I go back to edit the fields the selects retain the value. Is there a way I can force clear the value when one of the dependent field has changed?
Here is my code:
Thanks!
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1251157840073326643/image.png)
1 Reply
Ah figured it out using
afterStateUpdated
Thanks anyway!