I am struggling to find a way to clean the data of an inside group when the state of a button is changed.
So in my appI have button that will unrolled inside group like the following :
So if I select elements in the inside group
I would like to unselect them and clear all the input that have been fill in this group if the user change his mindan decide to click on an other element.
the problem is I don4t know how to reset the element (clean fields, unselect button, unselect checkbox,… when the button state of the parent of the group is changing)
I know I could do it for each element on each button but change set element by element would lead mee to almost 200 differents possibilities… so i am looking for an other approach
Do anyone know hw to do that ?
is there a way for example to create a new data = input value ONLY IF THIS BUTTON button state is …
thank you in advance for your help