climsoft / climsoft-app

Web-based application that uses the API exposed by climsoft-api
MIT License
0 stars 2 forks source link

Geolocation Accuracy has no validation if string entered #49

Closed isedwards closed 1 year ago

isedwards commented 1 year ago

Attempting to enter a string, instead of a float, in Geolocation Accuracy field gives a red 'toast' message on submit saying: "Error loading request" - it's not clear which field failed unless you look at the API response:

{"detail":[{"loc":["body","geolocation_accuracy"],"msg":"value is not a valid float","type":"type_error.float"}]}