sbycrosz / react-native-credit-card-input

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!
MIT License
1.46k stars 699 forks source link

Non-numeric postcodes #91

Closed dwsmart closed 6 years ago

dwsmart commented 6 years ago

Is there a way to modify this to support non numeric postal codes, UK format for example, like:

AA1 1AA

sbycrosz commented 6 years ago

It should be possible using a combination of validatePostalCode and additionalInputsProps props. but the I think you better off putting it on separate TextInput