Is any solutions for inputMask in Expo?

#1

Is any solutions for inputMask in Expo?

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

#2

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

1 Like
#3

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'
        }}
      >
closed #4

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