Open WesleyKoech opened 1 year ago
I think the right solution is to implement validation at the time you enter those values.
It makes sense to add validations to both the endpoint for creating a user on the server-side and the user-add form in the web app.
Agree. Do you want to update this PR or create a separate one?
Cool. I will update the current PR.
Fix out-of-range lat/lon error when user sets values outside of (-180, 180) and (-90, 90) respectively. The error is as shown:![Screenshot from 2023-02-08 12-53-35](https://user-images.githubusercontent.com/91774922/217496803-1ca07073-bd3f-4ead-8b7a-ffd26b5582c8.png)