Fix Authentication Form: Validate Email Field and Disable Buttons During Requests
Email Validation:
Implemented validation to ensure that the email field is not empty before attempting to trigger the sign-in process. If the email field is empty, an error toast is displayed to prompt the user to enter a valid email address.
Loading State Management:
Introduced a clickedMethod state to track which authentication method is currently in progress. Disables the email input and all authentication buttons when a request is ongoing to prevent multiple submissions.
@HarshTiwari-err is attempting to deploy a commit to the mftsio Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA
@HarshTiwari-err unfortunately mohdjami already added his PR. I cannot award you