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

"The input element's type ('checkbox') does not support selection." #18

Closed
craigdallimore opened this issue Jun 18, 2015 · 2 comments
Closed

Comments

@craigdallimore
Copy link

Hi! Great library.

Not sure if this is a bug or a browser issue, but I think you might be interested - I seem to be having issues JSONifying a few types of input elements. Here is a JSFiddle demonstrating what can happen.

I'm using chrome n 43.0.2357.124 (64-bit).

It's as if checkbox (and radio, file, etc) will raise an exception if you so much as access selectionStart like so:

'selectionStart' in node // true
node['selectionStart'] // DOMException

... which is more or less what I think is happening here.

@azaslavsky
Copy link
Owner

Huh, interesting.... i'll have to take a closer look. Thanks for the heads up!

@azaslavsky
Copy link
Owner

This issue has been resolved by commit #32

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

2 participants