Skip to content

v3.1.0

Compare
Choose a tag to compare
@airjp73 airjp73 released this 04 Jan 04:14
· 1320 commits to main since this release

Adds two new features:

  • An isValid value is now returned from useFormContext.
  • When form validation fails via an attempted submit, the first invalid input will be focused. It is also now possible to use useField to specify a handleReceiveFocus callback that will be called when an input is going to receive focus this way. This is primarily to support custom components that use hidden inputs for their value and some other ui for the "input".