Hiya,
I was trying to disable a button inside a toolbar using the code below (code snippet from http://demos.telerik.com/kendo-ui/toolbar/api ):
$(
".toggleRepeat"
).click(
function
() {
var
toolbar = $(
"#toolbar"
).data(
"kendoToolBar"
),
repeatButton = $(
"#repeat"
),
isDisabled = repeatButton.hasClass(
"k-state-disabled"
);
toolbar.enable(repeatButton, isDisabled);
});
After looking at the developer tools and inspecting the said button, I noticed it is not marked as aria-disabled. Is there a way to achieve this?
Kind regards, Byang