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

Spinner does not allow me to type long numbers in Chrome #22

Open
bellthoven opened this issue Feb 17, 2012 · 0 comments
Open

Spinner does not allow me to type long numbers in Chrome #22

bellthoven opened this issue Feb 17, 2012 · 0 comments

Comments

@bellthoven
Copy link

While using Chrome I had experienced this scenario:

$("#input-id").spinner();

It seems that Chrome does not allow me to edit numbers, just the first one. I firebugged in Chrome and Firefox and it looks like Chrome sets maxlimit="1" while Firefox does not. So I in Firefox I can edit freely.

To solve my problem, I just initialized spinner like this:

$("#input-id").spinner({min: 0, max: 999999999999999}); which is ugly, but works. I think if max is not set, you should not set the maxlength property. It would solve all problems beatifully.

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

No branches or pull requests

1 participant