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

Trim whitespace before paste in digit code input #23

Closed
JStein2311 opened this issue Dec 2, 2020 · 3 comments
Closed

Trim whitespace before paste in digit code input #23

JStein2311 opened this issue Dec 2, 2020 · 3 comments
Labels
await feedback enhancement New feature or request fixed The issue has been fixed

Comments

@JStein2311
Copy link

Currently, if somebody copied a code and has accidental whitespace, nothing will be copied when the input is a digit-only input.

I would suggest that on paste, depending if the input is digit-only, whitespace in front and after will be trimmed.

Example:
Clipboard value is " 123 ", before trying to paste the text into the input field trim the data to be "123" and then try, if it is allowed.

@AlexMiniApps AlexMiniApps added the enhancement New feature or request label Dec 2, 2020
@AlexMiniApps
Copy link
Owner

@JStein2311 Hello, ok.

AlexMiniApps added a commit that referenced this issue Dec 15, 2020
@AlexMiniApps
Copy link
Owner

@JStein2311 Sorry for the delay, It is fixed, please check the latest release.

@AlexMiniApps AlexMiniApps added await feedback fixed The issue has been fixed labels Dec 15, 2020
@JStein2311
Copy link
Author

Works now as expected, thank you very much for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
await feedback enhancement New feature or request fixed The issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants