OpenNutriTracker
OpenNutriTracker copied to clipboard
Bug: App allows 0 as a valid Height value
Bug description: The program allows the user to input 0 as a Height value
Expected behavior: The program should only validate the Height if it's not null or 0, since it's impossible for someone to have 0 cm or 0 ft as a height.
Environment: Web (Chrome)
Possible solution: Add validation to check if the height is different from 0. It would also be a good practice to include validation for others values that are usually impossible for someone to have as a height, like (1,2,3 cm...) As well as including validation for values that are too large (example: exceeding 3 meters).
#218 implements the height input validation