Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

v1.12.0

Compare
Choose a tag to compare
@davidkpiano davidkpiano released this 03 Jun 21:21
· 274 commits to master since this release

Fixes and Enhancements

The main fixes for 1.12.0 are around the behavior for actions.reset. No existing, documented behavior has changed, but it has been reported that the action wasn't fully resetting forms. Specifically, if you have a form where dynamic fields are created inside, the "initial value" was erroneously updating to reflect those new fields, when it should really stay the same (hence "initial" 😂).

See #791 and #798 for more info, and dc26cf1 for the (really small) fix and unit tests.

Below are the main fixes from 1.11.3 and 1.12.0:

  • IE11 doesn't like Object.assign, and is weird about Object.keys, so that's been refactored. #806 #816
  • Typings updates: #804, #806
  • Fixing a small issue with debouncing and flushing. #813
  • Dynamic models now work as expected in <Control>, thanks to @kabbi - #812
  • Adding the type attribute to <Control.text type="..."> now works as expected, instead of the type being forced to "text", which was the original (incorrect) behavior. #814
  • If you want to run async validators at the same time as sync validators, now they will run as expected even if the field is invalid. #817
  • Fix for actions.reset(), as stated above.