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

Expiry can't input 12223 five number #2972

Closed
briskemen opened this issue Oct 27, 2020 · 1 comment · Fixed by #2976
Closed

Expiry can't input 12223 five number #2972

briskemen opened this issue Oct 27, 2020 · 1 comment · Fixed by #2976

Comments

@briskemen
Copy link

Summary

Code to reproduce

Android version

9

Impacted devices

Redmi

Installation method

gradle

SDK version

V15.0.1

Other information

image

  1. input 1.33, and delete
  2. faster input 12223, and you can see that
@mshafrir-stripe
Copy link
Collaborator

@briskemen thanks for filing. How did you reproduce inputting "12223" into the field?

mshafrir-stripe added a commit that referenced this issue Oct 27, 2020
Only allow digits and the `/` by setting the input type to `number`
and setting `android:digits` to the allowlist.

This prevents `.` and `-` from being entered as input.

Fixes #2972
mshafrir-stripe added a commit that referenced this issue Oct 27, 2020
Only allow digits and the `/` by setting the input type to `number`
and setting `android:digits` to the allowlist.

This prevents `.` and `-` from being entered as input.

Fixes #2972
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 a pull request may close this issue.

2 participants