Bug Fixes
- Updated exported
propTypes
. #1447 - Fixed a bug with array splicing. #1492 #1490 Thanks, @clayne11!
- Fixed a bug with field unregistering. #1486 #1460
- Fixed a bug with reinitializing on remounting. #1556 #1503
- Allowed sync validation to set a form wide
_error
like async and submit validation could. #1560 #1533 #1328 - Fixed a bug where fields would not amend their registration when their
name
prop changed. #1561 #1528
Features
- Added a
keepDirtyOnReinitialize
config parameter that will allow theinitialValues
to change without overwriting dirty fields. This is useful if you are continually saving the data as the user fills out the form. See #1465 for more details. Thanks, @hathawsh! blurredField
now passed toasyncValidate
. #1539 #817 #980 #1511 Thanks, @KaboomFox!- Allowed fields to have a
_error
assigned to them. #1508 #1107 Thanks, @clayne11! - Fields now get a
meta.submitting
flag. #1509 #1122 Thanks, @clayne11! - Added a
pure
config parameter that can short circuitshouldComponentUpdate()
. #1449 Thanks, @edvinerikson! - Added 🎉
Fields
component 🎉 that allows you to connect to multiple fields at a time. This was the last major piece of functionality to allow you to do inv6
what you could do inv5
. #1554
Why no release yet?
There is one other breaking change that I want to consider squeezing into v6.0.0
.