After updating to the latest version of Kendo UI for jQuery we noticed that the button disabled style appears to be broken.
We were able to reproduce the issue using the Dojo.
The steps to reproduce are very simple.
- Open the DoJo
- Between the <body> tags place the code below.
- Select "Kendo UI 2019 R1" for the Library
- Run the project and click the Disable button. Notice that the edit box is styled as disabled, but the button is not, but looks enabled, yet is not clickable.
- Now switch to the previously released library "Kendo UI 2018 R3 SP1"
- Click run and click the Disable button. Notice that both the edit box and button appear and act disabled.
<! Code to put in between tags >
<div id="view">
<input type="text" data-bind="value: name, disabled: isNameDisabled" />
<button data-bind="click: disableInput, disabled: isNameDisabled" class="k-button">Disable</button>
<script>
var viewModel = kendo.observable({
isNameDisabled: false,
name: "John Doe",
disableInput: function() {
this.set("isNameDisabled", true);
}
});
kendo.bind($("#view"), viewModel);
</script>
</div>