"disabled" class AND attribute in buttons make no sense

I think that’s not html conform for disabled buttons:

<button id="foo“ type="button" class="btn btn-outline-primary btn-sm disabled" disabled </button>

“disabled” should be removed from class and set only as attribute, like:

<button id="foo“ type="button" class="btn btn-outline-primary btn-sm" disabled </button>

That’s why many event handlers not work in javascript. “disabled” as attribute was removed, but the disabled class already exist.

Please remove the disabled class or make it configurable (class only, attribute only, both) please…

If you add disabled in the Attributes and not from the options panel you don’t get the class .disabled