Skip to content

v3.5.0

Compare
Choose a tag to compare
@akuzko akuzko released this 24 Sep 13:12
· 31 commits to master since this release

New Features

  • Added ability to pass a function to reset form helper. When passed, it will be called with current form attributes, and it's return value will be assigned as next form attributes. This behaviour can be used to amend current "clean" form attributes in some way without affecting form's isPristine flag.
  • Added setState form helper. Designed for advanced usage, it takes an updater function and passes whole form's state to it. It's return value is assigned as next entire form state.