I have an issue in react-native text input ios and I want to show a numeric keyboard. Here is the code that describes very well:
<TextInput
keyboardType={'numeric'}
onChangeText={(setCurrentValue) => this.setState({ setCurrentValue })}
/>
but in ios shows a comma in the keyboard, as in the picture below:
Instead of that comma I want to show a dot. Somebody have an idea how to do without replace method in JavaScript?
Thank you!
Your keyboard depend on region For example if you set your region from General > keyboard > language and region > to "Russia" you will get comma instead of dot. Set it to US you will get the dot instead of comma
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With