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

IE10 not working #101

Open
davequested opened this issue Jul 15, 2013 · 5 comments
Open

IE10 not working #101

davequested opened this issue Jul 15, 2013 · 5 comments

Comments

@davequested
Copy link

IE9 works perfectly. But for some reason IE10 doesn't. A basic HTML form with spectrum works fine, but in our app it doesn't. From what I can tell it's something to do with the jquery change() event. Spectrum renders fine, but when you change the colour, the form is 'broken', we can't submit. The form does have submit events and we do detect if a form field has been made 'dirty'.

If we place this in, to force IE9, it works fine:

So, does anyone know/experienced any IE10 issues which might be causing this? Is it an IE10 bug?

Thanks in advance.

@bgrins
Copy link
Owner

bgrins commented Jul 15, 2013

I haven't seen this, but it definitely could be an IE10 bug. Does this demo work for you? http://jsfiddle.net/bgrins/ctkY3/. If it does work, would you be able to modify it such that it is failing (or link to another page that shows it failing)?

@bgrins
Copy link
Owner

bgrins commented Jul 15, 2013

Also, does the form's submit event get called?

@davequested
Copy link
Author

I found the issue, it's weird! I had a maxlength attribute on my input field, if I remove this in IE10 it works. WTF?!

Here's the updated JSFIDDLE, try in IE10:
http://jsfiddle.net/ctkY3/924/

@bgrins
Copy link
Owner

bgrins commented Aug 9, 2013

Very odd! I'm guessing IE10 is the only browser that is enforcing that on a change event or something (maybe throwing an error when trying to set the value or something). I'd say let's just go ahead and add a note inside of the docs for this.

@bgrins
Copy link
Owner

bgrins commented Aug 9, 2013

@davequested curious, does it break if the maxlength is bigger (like 10), or is it the mere presence of the attribute that causes breakage?

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