Number Input: Allow "," as decimal separator


#1

Is it possible to allow “.” as well as “,” as the decimal separator? I have a number input with a floating label and when I type “3,5” and leave the input, the label goes back over the input and if I log the value of that input it is empty. It is for a PWA and my users are from germany and they are using “,” as separator. And the input should be a “Price” field. So I think they will intuitive type “3,5” instead of “3.5”. When they submit the form I will change it back to “3.5”. But just for the frontend I want to use the “,”. Is it possible?


#2

hi,

i have the same problem. did you found a solution ?
n