OpenOversight icon indicating copy to clipboard operation
OpenOversight copied to clipboard

Leaving overtime field blank when adding a new officer causes an error

Open brianmwaters opened this issue 3 years ago • 0 comments

When adding an officer using the form at https://openoversight.com/officer/new, if the "OVERTIME PAY" field is left blank, then after the form is submitted, the user sees an error that reads "Not a valid decimal value" (see screenshot).

image

The desired behavior should be, that if the OT field is left blank, then the app assumes that OT pay was $0 or unknown, and proceeds without error.

brianmwaters avatar Jan 28 '21 04:01 brianmwaters