Skip to content

v4.12.0

Compare
Choose a tag to compare
@erikras erikras released this 04 Mar 17:48
v4.12.0

馃帀 New Features 馃帀

  • The argument to initialize can now optionally be a function that takes the current values and returns the new initial values. #199
  • Added defaultValue and initialValue values to FieldConfig, thus allowing fields to be initialized at registration time. #200 final-form/react-final-form#387
  • Added modified flag for all fields. A field becomes modified the first time its value changes. Previously, with dirty, if the user returned the value to the initial value, the form state had no evidence that the value had ever changed. This is what modified provides. #201

v4.11.1...v4.12.0