-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you clear array value when another select widget change value? #210
Comments
Hi @daniel-dx, I have been able to implement the conditional display (and clearing the previous selected values) by utilizing the "valueTemplate" field of the dependent submenu like this:
|
For anyone wondering, this is how I add another element that depend on the dependent submenu in the previous form: The down side is that when validation is added, the form can get quite slow. Is anyone know of a way to only activate validation when the submit button is clicked on?
|
Hi everyone,
Currently I have a form like this:
The issue: I use this schema in the Playground, In the Select Type dropdown, if I select type1, and then tick in one or more subtypes checkbox, the initial result when I click on the Get Data button is like this
If I change the type(say type2), check in one subtype checkbox and click on the Get Data button, the previous value of the subtype array is not reset:
So, how can I clear the previous value in the subtype array, so that it will be like this instead ?
Thank you
The text was updated successfully, but these errors were encountered: