I have a JS object variable storing options of multiple items (options are linked to multiple items on the screen, each having own options). I am using Blaze to dynamically and contextually show those options on the screen (text fields, dropdowns, radio buttons, and checkboxes) for each object and that works. Now I would like on each change to any of the option shown on the screen to update the corresponding object variable storing that particular option. How can that be achieved most easily?
To put it another way - I generate screen controls on the base of an object variable, but how to make changing of those controls on screen to dynamically update the object variable they are based on?