Wikiki / bulma-checkradio

Bulma's extension to display better checkbox and radio imputs
MIT License
71 stars 43 forks source link

Disabled styling doesn't always work #46

Open yh54321 opened 5 years ago

yh54321 commented 5 years ago

When the disabled attribute is set to true on the checkbox, both the checkbox and its associated label are correctly disabled and adopt a 'disabled' styling (they become grayed, and mouse pointer changes).

When the checkbox exists in a <fieldset> element and the fieldset's disabled attribute is set to true, the checkbox becomes functionally disabled, though it does not adopt a 'disabled' styling.

If I am not mistaken, the expected behavior is for the checkbox and its label to likewise adopt a disabled styling under this circumstance.

helptiger commented 5 years ago

It seems that it is related to this https://github.com/jgthms/bulma/issues/2271