stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Can I control the keyboardType for Zip code input?

Open xiao555 opened this issue 3 years ago • 3 comments

When input zip code, the keyboard changed from numeric to default, which is not very user friendly.

Describe the solution you'd like Let developer can set the keyboardType for Zip code input.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

xiao555 avatar Oct 11 '22 05:10 xiao555

@xiao555 I think it really depends on the format of zip codes, countries like canada actually do need the regular keyboard because it contains alphanumeric characters

sebastienlabine avatar Oct 17 '22 20:10 sebastienlabine

@sebastienlabine Yes, but if only need numbers for zip code, maybe can do a optimization? Like add a prop we can use to set the keyboard type for zip code.

xiao555 avatar Oct 19 '22 03:10 xiao555

There should be a "Done" button to hide keyboard in numeric mode

manishnaruka avatar Mar 11 '24 20:03 manishnaruka