You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Astronomical Age Calculator allows users to input negative ages, as shown in the attached screenshot. This happens because the input field for age does not have a minimum value constraint, leading to invalid age calculations.
To Reproduce
Steps to reproduce the behavior:
Open the Astronomical Age Calculator application.
Enter a negative value (e.g., -9) in the age input field.
Click on the "Calculate" button.
Observe the error message prompting for a valid age
Expected behavior
The application should prevent users from entering negative values for age. The input field should accept only positive values (including zero if applicable)
Screenshots
Please add the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!
The text was updated successfully, but these errors were encountered:
Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
Hey @Sulagna-Dutta-Roy
Describe the bug
The Astronomical Age Calculator allows users to input negative ages, as shown in the attached screenshot. This happens because the input field for age does not have a minimum value constraint, leading to invalid age calculations.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should prevent users from entering negative values for age. The input field should accept only positive values (including zero if applicable)
Screenshots
![Screenshot 2024-06-14 114419](https://private-user-images.githubusercontent.com/159511364/339660894-4893881a-a53f-4e02-99b0-d1a5d94131c5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyNjY5NzIsIm5iZiI6MTcyMDI2NjY3MiwicGF0aCI6Ii8xNTk1MTEzNjQvMzM5NjYwODk0LTQ4OTM4ODFhLWE1M2YtNGUwMi05OWIwLWQxYTVkOTQxMzFjNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNlQxMTUxMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNWJjZGZkZmIyZmJjZWIwNjlkMzIyNjVkOWViNGFjMTIwMzUxNmFhYWZjYTVmZDkyNzFjZDViYmU1ZThkYjIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Nj6qBY-bljjg8RiH5zTsraCWd4dL-Io2eguPM0RLJrw)
Please add the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!
The text was updated successfully, but these errors were encountered: