Releases: react-hook-form/react-hook-form
Releases 路 react-hook-form/react-hook-form
Version 3.0.3
- fix a bug on Yup validation schema for
onBlur
andonChange
#23
Version 3.0.2
- fix a bug on radio bug
Version 3.0.0
React Hook Form return a new formState: Object
which contain the following information
dirty
: when user interactive any fieldstouched
: what are the fields have interactedisSubmitted
: whether the form have been triggered with submitting
example:
const { formState: { dirty, touched, isSubmitted} } = useForm();
Version 2.1.18
- fix a bug around remove events listener
- simplify async validation code
- type improvement
Version 2.1.17
- fix a bug on safari checkbox with input event
Version 2.1.16
- provider warning when
name
is supplied duringregister
Version 2.1.5
- fix the issue for server side rendering #16
- fix an issue when event return undefined
Version 2.1.14
- reset
isSubmitted
withuseEffect
Version 2.1.13
watch()
fields no longer trigger validation error withonSubmit
mode
Version 2.1.11
- include proper object compare