Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Releases: infinum/ember-form-object

Kinez

20 Oct 08:37
Compare
Choose a tag to compare
  • [FEATURE] Add form-loss-preventer service and use it on route mixin to enable multiple form loss preventions on one route
  • [FIX/BREAKING] Remove resetController handler in route mixin
  • [FEATURE] Add support for multiple forms on form route mixin

Lateral

10 Oct 09:57
Compare
Choose a tag to compare
  • [FIX] Setting calculated values only to writeable (!readonly) virtual properties
  • [FIX] Fixed dirty detection of date properties
  • [FEATURE] Set saveError object to form so it can be used to display error messages
  • [FEATURE] Add allowSaveIfNotDirty config
  • [BREAKING] Remove deleting isNew models in model form destroy hook

Kokopeli

22 Sep 09:23
Compare
Choose a tag to compare
  • [FIX/BREAKING] - Remove lodash dependency (which caused change in dirty comparison algorithm)
  • [BREAKING] createForm is not exported in 'ember-form-object/utils/core' anymore but as a default export of 'ember-form-object/utils/create-form' module
  • [BREAKING] Update ember-validations to 2.0.0-alpha.5 (check their changelog for public API changes)
  • [FIX/BREAKING] It's now mandatory to call this._super() on init, beforeSubmit & afterSubmit methods
  • [FEATURE] Add beforeModelSync and afterModelSync hooks
  • [FEATURE] Add support for "ordered" option in property definition (#5)
  • [FIX] Fix setting virtual async property through class setter method
  • [FEATURE] Add form.reset() API
  • [BREAKING] Rename form.rollbackAttributes() to form.rollbackModelAttributes() for consistency