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

User can type letter when Component first loads #9

Closed
technoplato opened this issue Dec 3, 2018 · 6 comments
Closed

User can type letter when Component first loads #9

technoplato opened this issue Dec 3, 2018 · 6 comments
Labels

Comments

@technoplato
Copy link

Repro:

  1. Load component
  2. Type 'a' as the first character before any others
  3. Observe a is entered into input
@technoplato
Copy link
Author

I think one may have to 'tab' into the field for this to occur

@technoplato
Copy link
Author

Highlighting the entire field will yield this bug as well.

@antonfisher antonfisher added the bug label Dec 3, 2018
@ManojKumarNagaraj
Copy link

HI,
Can i know what can be the exact fix for this because i have started using this plugin in the forms.

@technoplato
Copy link
Author

In your listener for changes to the text, check for non numbers and prevent them from changing your state.

@antonfisher
Copy link
Owner

Working on it...

@antonfisher
Copy link
Owner

antonfisher commented Apr 10, 2019

I published version 2.0.3, should be OK now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants