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

Add Minimum Value Constraint for Age Input #1858

Conversation

SaiTejaswaniBikkasani
Copy link
Contributor

Fixed issue: #1612

  • Updated the age input field to include a minimum value constraint of 0.
  • Ensures that users cannot enter negative numbers for age.

Fixes: #1612

  • Bug fix (non-breaking change which fixes an issue)
  • I have made this from my own
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

After making the changes:
Screenshot 2024-06-22 111441

Updated the age input field to include a minimum value constraint of 0.
Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Sulagna-Dutta-Roy Sulagna-Dutta-Roy merged commit e073da0 into Sulagna-Dutta-Roy:master Jun 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Input Validation for Age in Astronomical Age Calculator
2 participants