That happens when you have numerical type input. You can type 'e' character but never stored back so it's safe but it's annoying.
Hi Halim,
Because 'e' is a valid number character.
This is the HTML specification:
A floating-point number consists of the following parts, in exactly the following order:
-
0—9
.
e
E
+
So why we can't save it anyway if it is allowed?
Possibly because you are not using it correctly.
'e' is the exponential symbol. So, to it to be valid, you must use it like this:
2e5 or 10e-3
if it is not followed by the exponential value, it is not valid. And probably must be also preceded by something.
I see thanks
Hi,
Is it possible to disable the input widget to accept 'e' so that it can only accept numerical values like (0-9)?
Thanks
Regards,
Nhorwin
Nhorwin John Villano wrote:
Nhorwin John Villano have you find a solution?
I am not...
I have an input widget where's my data type is number, but i only want the 0 to 9 digits, and avoid the user to put the "e" and the "-" (negative) char. How can I do?