mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 22:32:04 +00:00
Typing 720 instead of 72.0 in the measurement edit sheet showed the English banner "Validation failed" in every locale, with no field marked. The route refuses a changed value outside the type's band with a 422 whose issue list names the field, and the client dropped that list. The sheet now checks the same band before sending and says, under the value input and in the unit it shows, which range is accepted. ApiError carries the field paths of a refusal, so a value the server still refuses lands on the field too; any other refusal goes through localizedApiError instead of printing the server's prose.