bulma icon indicating copy to clipboard operation
bulma copied to clipboard

a.button.is-disabled is not worked.

Open uk-taniyama opened this issue 2 years ago • 3 comments

This is about Bulma.

Overview of the problem

a.button.is-disabled is not worked.

<a class="button is-disabled">xxx<a>

Description

Using "disabled" is OK.

<a class="button" disabled>xxx</a>

BUT ”a" tag does not have the "disabled" attribute.

uk-taniyama avatar Oct 05 '22 06:10 uk-taniyama

Disabled checkbox does not disable the label either.

<label class="checkbox"><input type="checkbox" disabled>xxxx</label>

uk-taniyama avatar Oct 15 '22 14:10 uk-taniyama

Hello @uk-taniyama

is anyone working on this issue? if not then i would like to work on this issue.

Thanks

kaushalyaghadge avatar Oct 15 '22 17:10 kaushalyaghadge

Using the disabled attribute on an anchor tag is invalid HTML, which means that projects that are type checked with TypeScript cannot make button links appear as disabled.

The same issue with checkboxes has been noted in #3396.

This is caused by the deprecation of is-disabled over 6 years ago: https://github.com/jgthms/bulma/issues/276#issuecomment-578889739

Lucidiot avatar Jan 15 '24 11:01 Lucidiot