Disabled button group radio item is selectable in 3.3.5 js
Created by: NogsMPLS
Disabling a button group item does not seem to work anymore in 3.3.5. This is using the button.js bootstrap plugin.
Here is a fiddle with 3.3.4: https://jsfiddle.net/k6a3j46o/28/
Clicking the disabled item does nothing, as expected.
Here is the same fiddle with 3.3.5: https://jsfiddle.net/k6a3j46o/27/
Clicking the disabled item actually adds .active to the label field, so you end up with an active disabled item. I believe this is not expected behavior.
There seems to be a disconnect on the disabled input's wrapper container behavior and the actual input behavior. I am pretty sure the disabled attribute on the input is correct and will work correctly, but if a label element has the disabled class, it shouldn't be able to add the active class.
This is bug is specifically for the click event I think, as there are still use cases of have an 'active disabled' item given from server or other means, but the user should not be able to select a disabled button group item with the click event as it should be read only.