I have a two-column layout where selecting an item from the list in the left column opens an x-form to edit that item in the right column.
If I click an item on the left, I successfully get a form with the right data from that model.
If I click a second (or third, fourth, etc.) item on the left, the x-fields within my x-form don't update to reflect the new model passed in. They stick on the values of the original model selected.
Proposed Solution
Compute the changeset anytime data or validations changes.
Problem
I have a two-column layout where selecting an item from the list in the left column opens an
x-form
to edit that item in the right column.If I click an item on the left, I successfully get a form with the right data from that model.
If I click a second (or third, fourth, etc.) item on the left, the
x-field
s within myx-form
don't update to reflect the new model passed in. They stick on the values of the original model selected.Proposed Solution
Compute the changeset anytime
data
orvalidations
changes.Alternative solution to https://github.com/thefrontside/emberx-form/pull/16