Skip to content

Version 7.48.0

Compare
Choose a tag to compare
@bluebill1049 bluebill1049 released this 04 Nov 21:05
· 76 commits to master since this release

🧱 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);
        setDisabled(false);
      })}
    / >
  );
}

😵‍💫 fixed typo in useFormContext (#11126)
🫡 strictly manage constants and improve types (#11101)
🐞 fix #11076 disable toggle issue (#11090)
🚀 fix: Solve the issue of race condition with resolver. (#10991)
📖 docs: fix useWatch example syntax error (#11005)
📝 readme arabic version (#10992)

thanks to @Iyadchafroud @domuk-k @mehunk @ssi02014 and @tykhan