I am trying to use binding to update my object in javascript.
I have an object - custExtra - that can have values from the database, OR have values set via the form.
When I set them via the form, I cannot access that value in the javascript.
If I log the value, it’s undefined, but when I log the object custExtra, I can see under observers that there is:
get GeneralInfo_Timezone
set GeneralInfo_Timezone
under the set, I can see a property currentValue
, and that has my current value. But I can’t access it.
I have tried both value.two-way
and value.bind
.
Attached is my gist showing the issue:
Thanks