jquery.ui.spinner icon indicating copy to clipboard operation
jquery.ui.spinner copied to clipboard

Spinner does not allow me to type long numbers in Chrome

Open bellthoven opened this issue 14 years ago • 0 comments

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.

bellthoven avatar Feb 17 '12 13:02 bellthoven