-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The onChange is not fired. When I type, the text shows as normal, like a normal input. I use rn 0.80.1. I dont have this problem on 1.4.2.
Code snippet
Ive tested with the code from the page:
const [phoneNumber, setPhoneNumber] = useState('');
const onChangeText = useCallback((formatted, extracted) => {
console.log('onChangeText', formatted);
setPhoneNumber(formatted);
}, []);
<MaskedTextInput
autocomplete={false}
mask="+1 ([000]) [000]-[0000]"
value={phoneNumber}
onChangeText={onChangeText}
keyboardType="numeric"
/>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working