React Hook Form Tutorial - 23 - Disable Form Submission

preview_player
Показать описание

📱 Follow Codevolution

Disable Form Submission
React Hook Form Tutorial
React Hook Form Tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

Because in one of the previous videos the disabled property of an INPUT was changed with "WATCH" then isDirty is already TRUE. Typing in CHANNEL crashes the page, but nothing in the console. The last time it happened (a couple of videos ago) I had to remove the destructuring of isDirty from formState because it causes a lot of renders.
All around you have a pretty good tutorial, but you must fix the little issues that will make it GREAT.

binyaminregev
Автор

Many congrats for achieving 500K subs on channel. Thanks for your contineous effort for creating high quality, well researched and to the point vidoes. Thanks once again for uplifting front end community by sharing your knowledge. Always grateful. ❤

kunjpatel
Автор

Adding !isValid to disabled is not practical because the user does not get any info why the submit doesn't work since no error message is being populated

youngming
Автор

I have a strange issue. My console log statements are appearing 4 times. 2 if I remove React.Strictmode in main.ts.
I know this is normal for strictmode in development but even without it, something is causing the page to render twice each time I refresh. Any ideas?

ThaRealIansanity
Автор

Plzz, include a project with login & register form with JWT authentication

nazirahamed
Автор

But since we have disabled the button, how will the validation happen now ? I mean the validatiojn is happening but it is not showing on the page, take example as email

abhijeetkumar
Автор

After video 11 there are errors in the code that are ignored, not mentioned, disregarded, not addressed, not explained, and make this tutorial incomplete. By this video, the tutorial is completely useless. I'm looking for another tutorial to complete my training of React Hook Form.⚠⚠⚠

binyaminregev