I’m creating dynamic forms and I want to use components to make it more future proof. Some of the fields depend on a different field on the same page. For example: You can select a checkbox (I have a maiden name) and then maiden field input box shows up, otherwise is hidden.
My initial thought was to use observables and whenever any value on all my fields change, re-render, since maybe now the checkbox was enabled and maindenField.isVisible is now true.
Then, I remembered double bindings are going to be gone by default in Ember 2.0, so I’m thinking maybe I should use actions. Seems like doing a lot of work with actions and not taking advantage of observables (which are nice).
Do you have any suggestion?