Variable with JSON, connected to many inputs. How to edit just the binded value?
I have many inputs connected to a variable JSON . Example 2 inputs first name and last name and the variable : { "last -name " : "Doe " , "first -name " : "John " } Inputs are binded to the first and last name . When editing one input it change all the inputs in undefined . Why is not editing just the binded value (for example : first -name ) ? If you ’re trying to change the value of a key /value pair in an object , binding the input to a variable will overwrite the whole object iirc . You ’d need to use some logic to locate and set only the specific key /value pair in the object and leave the rest . I ’d try to find the key /value pair by index or unique id if you capture that and then use Set to update the value . I do that a lot for different things . At work just now but can help out a bit later if you don ’t find a solution .
.jpeg/public)