DatePicker 'onChange' event not triggering when value entered by typing

if editable: true, and the user types the date instead of clicking with the mouse, the onChange event is not fired.
Any workaround?

Tagged:

Comments

  • edited December 2018

    Hello,

    You can handle the onBlur event to get and set the typed value: https://snippet.webix.com/5t5d2lnq

    It does not work by default since user input may lead to unexpected results, so you need to check for a valid date and apply it, if it matches your criteria.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion