Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighten validation on the Athelete ID field to enable numerical values (especially for copy and paste) #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsouth95
Copy link

I had an issue when using this form where I tried to paste in my athelete ID number and was just going to manually add the 'A' at the beginning. In order to fix this, I've side-stepped the validation and just manually prepended the 'A'.

An alternative approach is to move the validation to the handleOpenProfile and show a custom warning for this field.

Pasted values could be ignored if not in the correct format which was
a pain for users. This change just manually adds the 'A' if it doesn't exist
to ensure a better user experience.
Copy link

vercel bot commented Jun 15, 2024

@hsouth95 is attempting to deploy a commit to the sargant's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant