ciena-frost / ember-frost-bunsen

Create UIs from JSON configurations
http://ciena-frost.github.io/ember-frost-bunsen/
MIT License
20 stars 35 forks source link

Correct state change order #549

Closed sophypal closed 6 years ago

sophypal commented 6 years ago

PATCH

ember-frost-bunsen wasn't updating the store properly which resulted in the store having an older version of the model. bunsen-core@2.1.1 was updated to rely on the store model for validation updates and it causes issues with validation not working correctly on the initial render. Quite a few tests failed with that version of bunsen-core. This PR fixes the problem by updating the store in the normal fashion (update model/view, update value, then validation). No additional tests were added as current tests assured existing functionality is intact.

CHANGELOG