Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hook-form

Package Overview
Dependencies
Maintainers
1
Versions
1032
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-form - npm Package Versions

13
104

7.51.0

Diff

Changelog

Source

[7.51.0] - 2024-3-2

Added

  • added 'validateFields' to formState
const { formState: { validateFields } } = useForm();
bluebill1049
published 7.50.1 •

bluebill1049
published 7.50.0 •

bluebill1049
published 7.49.3 •

bluebill1049
published 7.49.2 •

bluebill1049
published 7.49.1 •

bluebill1049
published 7.49.0 •

Changelog

Source

[7.49.0] - 2023-12-10

Added

  • add reactive errors prop at useForm
useForm({
  errors, // Server errors
});
bluebill1049
published 7.48.2 •

bluebill1049
published 7.48.1 •

bluebill1049
published 7.48.0 •

Changelog

Source

[7.48.0] - 2023-11-05

Added

  • added new disabled prop for useForm to disable the entire form
const App = () => {
  const [disabled, setDisabled] = useState(false);
  const { handleSubmit } = useForm({ disabled });

  return (
    <form
      onSubmit={handleSubmit(async () => {
        setDisabled(true);
        await sleep(100);
        setDisabled(false);
      })}
    / >
  );
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc