Inputing valid value after invalid value keeps the error
Happens in the latitude button Steps to reproduce:
- Input a value that is invalid in more than one way (e.g. 100, 120)
- Try to submit
- Enter a valid value (e.g. 0, 90)
- Submit Expected: Second submit should be valid Received: Still an Error
Reason: If two errors are present at the same time and then submitted only the first gets deleted when the input is corrected.
Fix: Add logic to check to reset all errors when the input is valid