Open KrishnaCaw opened 2 years ago
<TextInputMask onChangeText={(formatted, extracted) => { console.log(formatted); console.log(extracted); }} mask={'+91 [00] [0000] [0000]'} />
adding spaces in mask causing them to render twice. after any space if i enter any number it gets rendered twice and i have to remove extra number and then enter the correct number
but working with -
-
<TextInputMask onChangeText={(formatted, extracted) => { console.log(formatted); // +1 (123) 456-78-90 console.log(extracted); // 1234567890 }} mask={'+91-[00]-[0000]-[0000]'} />
"react-native-text-input-mask": "^3.1.4", "react-native": "0.67.2",
Android 12
I experience the same issue, any updates?
<TextInputMask onChangeText={(formatted, extracted) => { console.log(formatted); console.log(extracted); }} mask={'+91 [00] [0000] [0000]'} />
adding spaces in mask causing them to render twice. after any space if i enter any number it gets rendered twice and i have to remove extra number and then enter the correct number
but working with
-
<TextInputMask onChangeText={(formatted, extracted) => { console.log(formatted); // +1 (123) 456-78-90 console.log(extracted); // 1234567890 }} mask={'+91-[00]-[0000]-[0000]'} />
"react-native-text-input-mask": "^3.1.4", "react-native": "0.67.2",
Android 12