sfbrigade / bats-server

Routed is an app to help ambulances direct non-critical patients to hospital emergency rooms with the most availability.
https://routedapp.org/
GNU Affero General Public License v3.0
18 stars 12 forks source link

EMS: numeric fields do not show 0 when it's entered #248

Closed fwextensions closed 1 year ago

fwextensions commented 1 year ago

Entering a 0 counts as a filled field for the form but the field appears empty. It's likely due to something checking for a truthy value instead of an empty string or null.

ap247 commented 1 year ago

Are there particular fields for which 0 does not show? I tried to send a ringdown through EMS User with as many zeroes as I could and most if not all fields showed up when logged in as a Hospital user.