react-hook-form
7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed
7.91.0 is the newest release of 7.x.
In short
1 new18 fixed
Release note
Changed
Add optional
@types/reactpeer dependency
Fixed
validateFieldcallingsetCustomValidityon refs that don't implement it under native validationForm-level
validaterunning a stale function instead of the latest oneForm-level validation leaving stale errors after a successful re-validation
Form-level validation running more than once per traversal
Stale validation results (resolver, built-in, form-level
validate) being applied afterresetinonChangeandhandleSubmitPending
delayErrortimers for nested paths not being cancelled when a parent validates clean or is reset viaresetFieldgetValues(names, { dirtyFields })returning every row of a field array instead of only the marked entriesField array touched state not being re-indexed when
touchedFieldsis not subscribeduseFieldArrayemittingtouchedFieldsin form state updates when unnecessaryStale field array root error not clearing once an array operation satisfies the rule
useFieldArraymarking the form dirty when the array default isnullDirty state lingering for rows removed from a field array
setValuewithshouldValidatenot revalidatingdepssetValuewithshouldValidatenot triggering validation for a field array rootValidation rules removed from
registeroptions at runtime still being applieduseControllervalidatingrequiredagainst the input value instead of the controlled valueisValidnot recomputing when theerrorsprop is emptiedgetFieldState(name, formState)with a resolver afterreset()