I have a field with TextFormat.Number.
By default it accepts only dot "." as a decimal separator in numbers. But in the middle of the field it is also possible to add comma "," which might potentially harm any calculations or value formatting in the field. Here is the example of scenario:
1) User puts some value, fore example 150000.56
2) Then he decides to change it because added extra zeros by selecting them
3) Deletes selected. Then notices, that he accidentally removed separator and adds it manually, but wrong one - comma
4) From user point of view this is a correct value, but for example "Value" function will read this value as 150056.
I am aware that it is possible to add manually validation for the field change, but isn't it weird that field without any additional formatting rules allows to put additional symbol inside it? In addition it forbids to add comma at the end, so that means symbol does not belong there.

Report
All responses (
Answers (