yarn react-hook-form 7.19.0
Version 7.19.0

latest releases: 7.53.2, 7.53.1, 7.53.0...
3 years ago

✨ feature: new resetField API (#6891)

const { resetField } = useForm();

resetField('test')

resetField('test', {
  keepError: true,
  keepDirty: true,
  keepTouched: true,
  defaultValue: 'test1',
})

⏱ close #6966 improve trigger by avoiding additional validation invocation (#6967)

thanks to @barrymay and @kotarella1110

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

NewReleases is sending notifications on new releases.