Skip to content

react-hook-form 7.57.0

[7.57.0] - 2025-06-02

Added

  • Focus form field for errors supplied via errors prop
  • Export UseFormResetFieldOptions type for resetField API
  • Root errors count in schema error lookup

Fixed

  • Type info for callback args in subscribe
  • Proper types for form.subscribe
  • useController focus function runtime issue
  • setValue skips values not in own properties (prevents infinite call stack with self-referencing proto)
  • Checkbox duplication handling in useFieldArray
  • mode and reValidateMode reactivity
  • Default value being overwritten by values prop regression