I am using a pre-built component by WeWeb for a side bar. The important part is I can configure a dynamic array. How can I reset all values to it’s original value with an array?
If you want to change the checkbox value programmatically you need to create variables of type boolean that will store the value.
create a variable for the first checkbox
set the checkbox initial value to the variable
add a workflow that updates the variable when the checkbox value is changed by the user
now you can reset the checkbox value with any workflow by using a “change value” action. For example I am using a button to trigger the reset
This is the result:
@dorilama Thanks for this, have you tried this within a binded array though?
you just need to have an array or an object as variable to save the status of the checkboxes and bind/change the corresponding value in the variable.
It’s similar to other examples about inputs and forms that you can find here in the forum.
See this example.