Is any solutions for inputMask in Expo?

Is any solutions for inputMask in Expo?

Such phonenumber for example or must write it by my own ?

I haven’t tried it yet, but this looks promising: https://github.com/benhurott/react-native-masked-text

2 Likes

Oh, just find the same and it works, the trick is masking in option:

   <TextInputMask
        style={styles.inputStyle}
        type={'cel-phone'}
        options={{
          withDDD: true,
          dddMask: '9 999 999-99-99'
        }}
      >

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.