yarn react-hook-form 7.46.0
Version 7.46.0

latest releases: 7.53.2, 7.53.1, 7.53.0...
14 months ago

๐ŸงŸโ€โ™‚๏ธ feat: support disabled prop for useController (#10810)

const [disabled, setDisabled] = useState(false)
useController({
  disabled
})
  • field value will be disabled
  • field value will be omitted

๐Ÿซ– prevent reset argument mutation (#10847)
๐Ÿž fix: add exact option for array name in useWatch. (#10707)
๐Ÿž update isDirty when setting disabled in register (#10805)
๐Ÿงถ feat: trigger passed names to construct resolver options (#10590)

thanks to @selimb @vonagam @jgullstr and @rabbitson87

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

NewReleases is sending notifications on new releases.