v4.5.0was broken. 😳
Features
- New
hasSubmitErrorsandhasValidationErrorsboolean flags added toFormStateto make it easier to ascertain whyinvalid === true. #108 #80 #81 final-form/react-final-form#89 initialValuescan now be passed to reset to avoid having to doreset(); initialize(values);#100 #98 #99- Dropped use of
Symbolin 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
Promisereturned 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
touchedwhen a submission failed with submit errors. #113 final-form/react-final-form#186