Open mufaddalhamidofficial opened 4 years ago
Sorry, for the delay. I will take a look today when I arrive home and will deploy a new version containing the solution.
any progress
What happened... any progress
I will send a PR soon for this. @mufaddalhamidofficial @mathnogueira
After my PR goes through, you can set the innerRef
like this:
<MaskedInput
placeholder="Phone Number"
style={styles.input}
mask="(000) 000-0000"
keyboardType="phone-pad"
value={phoneNumber}
onChangeText={setPhoneNumber}
innerRef={(ref) => (phoneNumberRef.current = ref)}
/>