Skip to content

v. 1.4.3 does not work #133

@tushe-tv

Description

@tushe-tv

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 working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions