yarn react-hook-form 3.27.0
Version 3.27.0

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

✨ New Feature: setErrors support multiple errors at once

const { setError } = useForm();

setError([
  {
    type: 'test',
    name: 'input',
    message: 'wow',
  },
  {
    type: 'test1',
    name: 'input1',
    message: 'wow1',
  },
])

🐞 fix #456 fix setValue to re-render when necessary (read more here)
🐞 fix #440 prevents field names from hanging around in the valid fields
🐞 fix pattern/required issue (#474)
🙏🏻 Improve handle submit with try-finally (#478)

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

NewReleases is sending notifications on new releases.