Numeric keyboard decimal separator


I’m using ion-input with inputmode=“decimal” for price parameter. In some countries they use comma (,) as decimal separator, so the keyboard is configured with comma in iOS. However, when I type a number with comma, it types into input, but I get nothing in v-model value, just empty parameter. I tried to get the value from JavaScript, but “modelValue” property is also empty in ion-input. The only place where the number can be found is Shadow node div contenteditable which I cannot access, can I? So I just cannot input ANY decimal number if I’m from a particular country.

How can I force keyboard to use point (.) instead of comma? Or any other solution?

Solved. If you replace type=“number” with type=“tel” you will inexplicably be able to read the value.