fix(time): bound Hours input to positive decimals up to 24h #137
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/mapps-150-hours-decimal-bounds"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Log Time Hours input carried step="0.25" but no min/max, so the
browser accepted negative and unbounded values (e.g. -1, 1e3). Add min
and max props to the shared Input component and apply min="0.25"/max="24"
to the Hours field, mirroring the bound in the submit-time validation so
non-browser submits are rejected too. HH:MM input is not supported;
decimal hours only.
#MAPPS-150