React input type number with comma as decimal separator

Viewed 1765

I tried to set value in 'German' locale to react input number field as below;

My value got reset and gives below warning in chrome console.

'The specified value "2345,00" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+.\d+|.\d+)([eE][-+]?\d+)?'

enter image description here

I am using react 15.6.1 It seems ReactDOMInput doesn't support comma as decimal separator. Does anyone have solution for this issue?

0 Answers
Related