0
can help me?
I have this input number that must accept decimal values. People fill the decimal with a dot (.) and not a comma (,)
In all browsers works very well, EXCEPT in firefox which is our default browser. (Firefox is only allowing (,) and not (.))
I searched several sites (including here in stackoverflow) and several methods, the only way it worked was to leave the input as text and apply a mask with js converting the (.) to (,) thus avoiding the doubt or the user’s Noob error.
Can I allow firefox to accept (.) input number? Does anyone know? Thank you!
Thanks friend, From what I understand, so there is not much to do. It is a question of which browser I am using. If I want to force the use of (.) I have to configure a text field with a mask and then give due precautions to this field to only receive integer values.
– ShBr
@Shbr yes that’s it there!
– alxwca
Hello guys, all right!! I got a much simpler solution using <html lang="en">, so the browser interprets the site with the language I want, so (.) starts to be accepted!!! Big Hugs!!!
– ShBr