Home Dashboard Directory Help

Can still edit input[type="text"] within fieldset[disabled] by Chris Rebert


 as Fixed Help for as Fixed

Type: Bug
ID: 962368
Opened: 9/2/2014 2:08:41 PM
Access Restriction: Public
User(s) can reproduce this bug


Per http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-fieldset-element : "The disabled attribute, when specified, causes all the form control descendants of the fieldset element, excluding those that are descendants of the fieldset element's first legend element child, if any, to be disabled."

This does not seem to be correctly implemented for text inputs in IE11. The field is visually styled as disabled, but the user can still interact with it and edit it as if it was enabled, which is wrong.
Sign in to post a comment.
Posted by Dennis C___ on 7/27/2017 at 2:10 AM
Still an issue for input type=text fields in IE 11.483.15063.0
Posted by Rob Pierce on 9/5/2016 at 2:16 AM
This is still a bug - input controls are still editable within a fieldset that is set to disabled - see the fiddle that was added when the bug was originally logged, the input control is still editable using IE 11.0.9600.18427
Posted by Microsoft on 9/18/2014 at 3:07 PM
Thanks for the feedback! This issue has been addressed and the fix will be available in the next major release of Internet Explorer.
Posted by Chris Rebert on 9/15/2014 at 11:11 AM
This bug has now been noted on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset#Browser_compatibility
Posted by Chris Rebert on 9/14/2014 at 3:11 AM
Probably related to https://connect.microsoft.com/IE/feedbackdetail/view/817488/input-type-file-not-disabled-inside-disabled-fieldset
Posted by Chris Rebert on 9/10/2014 at 10:37 PM
Original Bootstrap bug report: https://github.com/twbs/bootstrap/issues/14509
Posted by Microsoft on 9/5/2014 at 8:15 AM
Thank you for your feedback. We will be investigating this issue further.

Best regards,
The Internet Explorer Team
Sign in to post a workaround.
Posted by Yuriy Lepikhov on 8/14/2015 at 12:48 AM
The Javascript workaround described here http://stackoverflow.com/questions/24119329/fieldset-and-disabling-all-child-inputs-work-around-for-ie/32002434#32002434
Posted by Yuriy Lepikhov on 2/2/2015 at 11:15 PM
See http://jsfiddle.net/ylepikhov/gdfm4q9c/ for IE8+ css only workaround. It has limitations though.