Skip to content

Bump react-hook-form from 7.45.2 to 7.49.2

Bumps react-hook-form from 7.45.2 to 7.49.2.

Release notes

Sourced from react-hook-form's releases.

Version 7.49.2

🐞 fix #11292 issue with controller validation prop (#11294)

Version 7.49.1

🐞 fix #11276 issue with disabled omit on Controller (#11277) 🐞 fix #11287 disabled prop cause const dirtyFields update (#11291)

🎄 Version 7.49.0

📮 feat: add reactive errors prop at useForm (#11188)

useForm({
  errors, // server errors
})

🖥️ feat: add react-server bundle (#11162) 🔩 chore: upgrade Node.js and pnpm (#11163) 🪖 feat: add ValidationModeFlags Type (#11144) 🐞 fix #11267 disabled prop does not affect controller validation (#11273) 🔧 refactor(util function): Enhance Consistency in Utility Functions: Standardizing Export, Function Types, and Naming (#11268) ️ change type structure of UseFormHandleSubmit (#11245) 📮 fix(#11239): Set fields disabled state based on form and field disabled (#11241) 🍢 improved getDirtyFieldsFromDefaultValues type (#11238) 🐞 fix #11229 issue with values not re-render the root form (#11231) 🐞 fix #11218 useFieldArray focus issue with rules prop (#11221) 🔧 chore: improved isObjectType and swap (#11183)

thanks to @​kotarella1110, @​ssi02014, @​thomasdbock, @​mildfuzz and @​Lennon57

Version 7.48.2

🐞 #11106 fix disabled prop not update dirty formState (#11143) 🐞 fix controller update with disabled prop from useForm (#11142)

Version 7.48.1

🐞 fix controller update with disabled prop from useForm

Version 7.48.0

🧱 feature: disable prop for useForm (#10496)

const App = () => {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = useForm({ disabled });
return (
<form
onSubmit={handleSubmit(async () => {
setDisabled(true);
await sleep(100);
</tr></table>

... (truncated)

Commits

Merge request reports