Bug: Allows Null Height and Weight Values After Going one Page Back
Bug description: In the Onboarding, the program doesn't allow the user to continue to the next page if the required fields are blank. However, on any page, when you complete the required fields and then use the arrow to go one page back, the fields are blank again when you return to this page. This time, the program allows you to continue even with the required fields left blank. This happens on all the onboarding pages.
Expected behavior: The program should not allow the user to continue without inputting values in the required fields on any page.
Affected Pages:
- Private Policy
- Gender and Age
- Height and Weight
- Activity
- Goal
Environment: Web (Chrome)
Possible solution: It seems the program is retaining the values inputted initially, but clears them when the user navigates back. A better solution would be to ensure that the previously entered values are preserved when returning to the page, or to reset the fields if the user goes back to a previous page.