I am trying to “disable” a toolbar button so that is not clickable (use case is for it to just display some short text directly on the toolbar). Through bootstrap CSS classes, I found that adding “disabled” achieves the visual effect but the button is still clickable.
Is there a way to disable the clickable nature of the button entirely? In HTML, there is a disabled=“disabled” attribute I can set for the “button” tag which should achieve this. Namely:
You need to stop the button being clickable, I am guessing the class you are adding, called disabled, just makes it look disabled. Normally you would set the disabled attribute: