- Refactor arrow functions to be on the prototype as requested by MobX. ref
- BREAKING: Minimum Requirement for MobX is now version 6. This is enforced by
peerDependencies. - We no longer use decorators internally as it is not recommended by MobX. ref
- The compiled JS we ship is now compiled with TypeScript
useDefineForClassFields. More info on this option
- Update for how
isArrayLikeneeds to be done for latest version of mobx. ref
.composedFormStateshould run itsvalidatorsas soon as all sub fields have been validated. Previously it only ran when sub fields where validated and changed. This shouldn't cause any need for a refactor as normally.validateis only called after a user interaction with fields. ref
enableAutoValidationenableAutoValidationAndValidatedisableAutoValidationfunctions onFormStateshould consistently always toggle theautoValidationstate for both itself and its children. ref
- If a validator dies unexpectedly (throws an error/exception) the
validatecall does the same instead of silently ignoring it. Should not cause any change if your validators worked previously.
- Added support for
MapinFormStateclass.
- Fixed
Cannot assign to read only property 'on$ChangeAfterValidation'. This is due to a breaking change in MobX.
- 馃帀 1.0.0
FieldState.reinitValueis now calledreset.resetis also an operation supported onFormStateand resets all the sub fields. (commit)