-
Notifications
You must be signed in to change notification settings - Fork 535
Postal Code should be a numeric input #100
Comments
Sounds like you're looking for another configuration option to restrict the postal code. I would think we should be more generic, and use regex's for folks to use in different countries. Something like a string extra: Would this be satisfactory? |
I'm less concerned about validating the input -- I can always do that after card.io returns data to me. I'm concerned about the UX that my US users see. I'd like them to get a numeric keypad to enter their zip rather than the default text keyboard since they won't need to enter any letters. |
Hmm. You're suggesting that we restrict to numeric input with a boolean, something like |
Yeah, exactly! I think it would be a UX improvement that our users would really appreciate. |
Fixed in 5.3.0. |
In the US, Postal Codes are purely numeric. The current box allows for text and so the keyboard does not default to a numeric keypad. It also allows does not limit to 5 characters or 5-then-4 characters.
Perhaps this is by design for internationalization, but it would be handy for US-only apps to specify a numeric input be used for Postal Code
The text was updated successfully, but these errors were encountered: