v4.5.0
was broken. 😳
Features
- New
hasSubmitErrors
andhasValidationErrors
boolean flags added toFormState
to make it easier to ascertain whyinvalid === true
. #108 #80 #81 final-form/react-final-form#89 initialValues
can now be passed to reset to avoid having to doreset(); initialize(values);
#100 #98 #99- Dropped use of
Symbol
in favor of unique strings. This removes the need for polyfills for older browsers. #109 #106 - Babel loose mode trimmed some bytes off the bundle size. #112
- Dropped for-of syntax to trim further bytes off the bundle size. #111
Bug Fixes
- Submit errors are now resolved from the
Promise
returned bysubmit()
#107 #78 - Field-level validation errors are now cleared when the last field with that name is unregistered. #110 #101
- Fields were not all getting marked as
touched
when a submission failed with submit errors. #113 final-form/react-final-form#186