Hi guys…
Here’s a really annoying behavior that took me a lot of time already and I hope you guys could help me before I try some “not so elegant” solution…
I have to tell that I’m not an AngularJS expert so it could be a little dumb question, but anyway…
That said, here’s my problem: I have a process that stores some information in a JSON variable. it all works fine except that I have a checkbox that updates a property called “replaced”.
Before saving, the json is quite consistent, showing replaced: true, for example. But when I save it, the property get quoted, transforming it to a string (replaced: “true”).
I created a listener function to the “store” event to log the json value and the variable in the scope ($scole.json_var) is ok, but calling console.log($scope.camForm.variableManager.variableValue(‘json_var’)); brings the quoted value.
What am I missing here ?