bhrott / react-native-masked-text

A pure javascript masked text and input text component for React-Native.
MIT License
1.61k stars 249 forks source link

credit-card: Only input 10 digits #87

Closed shamanking closed 6 years ago

shamanking commented 6 years ago

With document: credit-card: use the mask 9999 9999 9999 9999

But I only input 10 digits (ext: 4222 4222 42)

"react-native-masked-text": "^1.7.2", "react": "16.3.1", "react-native": "~0.55.4",

bhrott commented 6 years ago

Hi

Can you send a sample of the code you're using?

shamanking commented 6 years ago

@benhurott : I'm so sorry, I use props maxLength and I forget to remove it