I have made two different little web components that I want to point to the same form variable.
They each have a model defined in the .spec file like this:
"model":
{
"foo" : {"type": "dataprovider"}
}
Inside the properties for the instance of that component on my form, I have set "foo" on each of them to point to "myFormVariable" which is defined on that form.
One of the web components has a button which when clicked changes the value of "foo". The intention is that this value is passed through to myFormVariable, and thus the second web component updates its own "foo" variable. But instead clicking the button seems to create a separate variable inside an isolated scope. I have tried both ng-click and svy-click, making myFormVariable an object rather than a string, and the various values for "pushToServer", but have had no success.
What is the basic, standard way of binding 2 separate components to the same form variable?