David Cook
7164cbd0bd
Don't validate numericality if blank
...
This avoids unnecessary second message when left blank:
> can't be blank
> is not a number
Ok this is a little confusing. Why is there a separate presence check above, and why is it only for measurable units, when we still require a number for _all_ units? Because, for 'items', we allow a blank value then auto-set it to 1.
I don't know if it's really necessary, but that's how it currently works...
2024-02-16 08:51:53 +11:00
..
2023-11-07 11:19:23 +09:00
2023-12-01 12:37:13 +00:00
2023-10-29 21:58:03 +01:00
2023-10-29 21:58:03 +01:00
2024-01-10 09:21:43 +11:00
2023-11-17 09:00:50 +09:00
2024-01-11 12:20:40 +11:00
2023-12-04 08:45:19 +07:00
2024-01-03 11:34:57 +01:00
2024-01-10 09:38:21 +11:00
2023-08-11 10:14:43 +10:00
2023-11-17 09:03:32 +09:00
2024-01-04 13:45:36 +11:00
2023-10-29 21:58:03 +01:00
2024-01-03 11:34:57 +01:00
2023-07-31 17:21:49 +01:00
2023-09-13 16:45:00 +09:00
2023-09-13 16:45:00 +09:00
2024-01-16 15:40:22 +11:00
2023-08-11 10:14:43 +10:00
2023-09-13 16:45:00 +09:00
2023-04-18 22:58:06 +09:00
2024-01-19 01:52:24 +05:00
2024-01-03 11:34:57 +01:00
2023-10-06 10:58:49 +09:00
2021-04-15 15:59:03 +10:00
2023-04-18 09:39:39 +10:00
2023-10-24 15:21:14 +11:00
2023-09-13 16:45:00 +09:00
2024-01-10 09:38:35 +11:00
2023-10-06 10:58:49 +09:00
2023-10-06 10:58:49 +09:00
2021-12-10 18:18:20 +00:00
2024-01-14 15:05:59 +05:45
2023-10-06 10:58:49 +09:00
2023-08-11 10:14:43 +10:00
2023-11-17 08:59:27 +09:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2023-08-11 10:14:43 +10:00
2023-10-06 10:58:49 +09:00
2023-09-13 16:45:00 +09:00
2023-08-11 10:14:43 +10:00
2021-04-15 15:59:03 +10:00
2023-10-06 10:58:49 +09:00
2023-08-11 10:14:43 +10:00
2023-10-06 10:58:49 +09:00
2023-08-11 10:14:43 +10:00
2023-10-06 10:58:49 +09:00
2024-02-16 08:51:53 +11:00
2023-08-11 10:14:43 +10:00
2023-08-20 12:33:43 +09:00