Hi Thunkers,
I’m struggling with setting the property of an object (JSON) in my app. I have a bunch of text entry boxes which display default values, parsed from a variable which contains a JSON object. When the user edits a text box, I want to use a set property of object block to push the textbox value into the JSON object. I’m currently using the when… unfocus block to perform the update so that when the user clicks away from the textbox it should push the new value to the JSON object. Buuuut, every time I tried this it bounces back to the original value.
I’ve tried with and without a JSON object block for the ‘of object’ bit - neither works


The function ‘populatefields’ is what bounces the value back but it’s just stuffing the textbox with values from the JSON again. That JSON should, by this point, contain the new value.
What stupid thing am I doing wrong?
