clerk / clerk-docs

The documentation content for Clerk, an authentication and user management platform.
https://clerk.com/docs
79 stars 285 forks source link

Update Input Fields for Email Validation and Verification Process in `shadcn-ui` Example Forms #1175

Closed nabarvn closed 2 weeks ago

nabarvn commented 2 weeks ago

This PR introduces several updates to enhance the handling of email input fields and the email verification process within the sign-up and sign-in forms. These changes aim to improve user experience and data validation.

Modifications

  1. Email Input Type:

    • Changed input type to email in the sign-up form to ensure proper email validation.
  2. Email Verification:

    • Updated verification strategy fields to accurately reflect the email verification process.
    • Adjusted field names for consistency in email verification steps.

Benefits

Screenshot Reference

[!NOTE] In the component of email verification code, there is no email_code option for name attribute.

elements-shadcn-ui-example

These improvements streamline the authentication process using Clerk Elements and ensure a better, more consistent experience for the developers who want to build custom UIs on top of Clerk's APIs.

alexisintech commented 2 weeks ago

Tagging in @alexcarpenter who worked on these examples. I like these updates, but want to tag him so he can have visibility on this. Awaiting your thoughts, Alex!

nabarvn commented 2 weeks ago

Tagging in @alexcarpenter who worked on these examples. I like these updates, but want to tag him so he can have visibility on this. Awaiting your thoughts, Alex!

Appreciate you, @alexisintech.

nabarvn commented 2 weeks ago

Thanks for the quick approval @alexcarpenter!