yarn react-final-form 7.0.1
v7.0.1

4 hours ago

v7.0.1

Bug fixes since v7.0.0. No breaking changes.

Bug Fixes

  • Fixed useField returning the form's initialValues instead of the field's initial value on first render (#1060, fixes #1050)
  • Fixed type="select" with multiple not defaulting to [] (#1061)
  • Fixed React Native compatibility by removing the HTMLElement constraint (#1065)
  • Fixed destroyOnUnregister losing initial values when used in StrictMode (#1069)
  • Fixed checkbox and radio checked logic — was incorrectly using format instead of parse (#1074, fixes #974)
  • Fixed field name prop shadowing DOM properties (#1077, fixes #871)
  • Fixed FormSpy onChange not being called with initial state on mount (#1076)
  • Fixed field name and value falling out of sync when the name prop changes dynamically (#1078, fixes #869)
  • Fixed overwriting getter-only properties when spreading props in renderComponent (#1056, fixes #1055)
  • Fixed spreading of lazy state in FormSpy render props (#1059)
  • Fixed input prop override being ignored in the Field component (#1066)

Documentation

  • Added v7.0.0 migration guide for TypeScript users (#1064)

Don't miss a new react-final-form release

NewReleases is sending notifications on new releases.