Home > Net >  Why won't the form state visibly change within the submit button using react form hook?
Why won't the form state visibly change within the submit button using react form hook?

Time:11-30

So I have a sign up form using react-hook-form and I want to make the submit input disabled and display a "Signing in..." message. I've console logged the isSubmitting value within the render and that shows true when I submit and then false not long after however the submit button within the form never updates to reflect the isSubmitting status.

What am I doing wrong? Edit React Hook Form - Async Submit Validation (forked)

  • Related