-
assigned issue to
Clearing a numeric field gives error when saving [2020:O]
The cleared value of the field is an empty string - which is a type mismatch when applied to the numeric field at the server.
All empty strings returned from the client - regardless of the data type of the field - should be interpreted as null when saved
Comments (7)
-
-
reporter On the other hand, if the input is defined as type=number then we get back a null when clearing the field as expected.
This should perhaps be the preferred way to resolve this?
-
reporter - marked as minor
-
reporter IE 11 has issues with input="number", so we should probably not rely on the browser client resolving this?
-
IE 11 has issues with input="number", so we should probably not rely on the browser client resolving this?
@softwords What exactly is the issue and how does it affect the user?
-
reporter - changed status to closed
Accept that we use <input type = number whenever we have numeric data. This gives the correct result; in particular, null when cleared not '' .
Support now for IE11 vicissitudes not a priority.
-
reporter - changed title to Clearing a numeric field gives error when saving [2020:O]
- Log in to comment