kendo-ui-core icon indicating copy to clipboard operation
kendo-ui-core copied to clipboard

Events are unpinned when setOptions called in kendoNumericTextBox

Open kendo-bot opened this issue 3 years ago • 0 comments

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

kendo-bot avatar Jul 13 '22 07:07 kendo-bot