Binding variable to input field works only one way

I created a variable constituentContacts to hold input values : [{“last_name”:“”,“first_name”:“”}]
I created a form with input fields that ask for last_name and first_name for each contact

I binded the form section to the array
everything looks ok

When I change the variable, the input field reflects the change (as it is binded)
BUT When I enter a value in the input field, the variable is not updated

As if the binding is one way only, not 2 ways like in vuejs for example
Is it normal, how do I bind it both ways ?

It’s one way only. If you want to update the value of your variable you need to add a workflow “on change” and use the event value in a “change variable” action.

If you know vue you can see what’s happening in the input element

1 Like