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

Empty name should not be allowed. #5

Open
bikkimahato opened this issue Aug 26, 2022 · 3 comments · May be fixed by #8
Open

Empty name should not be allowed. #5

bikkimahato opened this issue Aug 26, 2022 · 3 comments · May be fixed by #8

Comments

@bikkimahato
Copy link

image

@MohammedRizwan4
Copy link

Hello @Deep-Codes should i make this issue resolve.
I will use one library that will check all events and validate the field as per rule

As i am a beginner in open source so can you give me one chance please!!!!

@LeoAbraham123456789 LeoAbraham123456789 linked a pull request May 25, 2023 that will close this issue
@yash1805125
Copy link

Hi @Deep-Codes, can you please elaborate, what do you want to display if there is an empty name (e.g. displaying something right below the name input tag if it is empty, or giving an alert message? ).

@Coder-Rushabh
Copy link

if (!name.trim()) {
return (


Please enter a valid name for the countdown.



);
}

Add this code before checking if (!countdownData.isItBday) {

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 a pull request may close this issue.

4 participants