Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: postal code inputs no longer accept characters that are never present in postal codes #1027

Merged
merged 6 commits into from
Jul 11, 2022

Conversation

charliecruzan-stripe
Copy link
Collaborator

Summary

Adds InputFilters to postal code edit texts for CardForm and CardField.

https://en.wikipedia.org/wiki/Postal_code#Character_sets

Also created a utils/ directory in the android source in this PR just to clean up a bit as we go

Motivation

fixes a bug, makes behavior consistent with iOS

Testing

  • I tested this manually
  • I added automated tests

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.

@charliecruzan-stripe charliecruzan-stripe merged commit a5a0910 into master Jul 11, 2022
@charliecruzan-stripe charliecruzan-stripe deleted the charliecruzan-dx1305 branch July 11, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant