I want to have an input field of type="number". (So that on mobile phones the numeric keyboard will appear). The problem is, that all my values are in cents: 1EUR = 100 Cents and I want to display a comma as a decimal separator (German format), so onChange will multiply the value with 100, and when the value is rendered, it is devided by 100. But when I type "5." after typing the next number the "." will get lost. The same happens with a ",".
I couldn't find any component already implemented that does this by using input type="number" instead of type="text". So does anyone know such a library or a way to implement it, that does not include having two inputs, one for Cents and one for Euros?