Skip to content

v4.5.1

Compare
Choose a tag to compare
@erikras erikras released this 11 Apr 14:08

v4.5.0 was broken. 馃槼

Features

  • New hasSubmitErrors and hasValidationErrors boolean flags added to FormState to make it easier to ascertain why invalid === true. #108 #80 #81 final-form/react-final-form#89
  • initialValues can now be passed to reset to avoid having to do reset(); 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 by submit() #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