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

.type() fails on input[type=number] fields in Chrome #90

Closed
michalbe opened this issue Dec 18, 2014 · 2 comments · Fixed by #184
Closed

.type() fails on input[type=number] fields in Chrome #90

michalbe opened this issue Dec 18, 2014 · 2 comments · Fixed by #184
Assignees
Labels

Comments

@michalbe
Copy link
Contributor

Trying to type in a numeric input is throwing an error on Chrome:
screen shot 2014-12-18 at 12 50 49
JSFiddle example: here

It works fine in Fx for now, but according to WHATWG HTML Living Standard, selection is only permitted with text/search, URL, tel and password inputs, so we should expect this to fail in all the browsers in the near future.

@michalbe michalbe added the bug label Dec 18, 2014
@michalbe
Copy link
Contributor Author

Maybe we can temporarily change type of the input to text and change it back in teardown?

@zedd45
Copy link

zedd45 commented Mar 31, 2015

I'm having the same issue with type=emailand type=number on chrome 41.

@moschel can confirm this.

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

Successfully merging a pull request may close this issue.

5 participants