kendo-ui-core
kendo-ui-core copied to clipboard
Events are unpinned when setOptions called in kendoNumericTextBox
Bug report
Since R1 2022 spin event is no longer triggered when setOptions is called in NumericTextBox
Reproduction of the problem
Dojo: https://dojo.telerik.com/eTAfAyuP
Expected/desired behavior
Spin event shall fire after setOptions() is called.
Workaround:
Attach arrow handler manually
function attachSpinHandler() { $('button[title="Decrease value"]').click(function() { console.log("down arrow clicked") });
$('button[title="Increase value"]').click(function() {
console.log("up arrow clicked")
});
}
$( document ).ready(function() {
attachSpinHandler()
});
TicketID: 1572251
Environment Kendo UI version: 2022.1.119 or above jQuery version: All Browser: All