Clear-click not firing event?

2 posts, 0 answers
  1. henrik
    henrik avatar
    1 posts
    Member since:
    Jan 2017

    Posted 01 Feb 2017 Link to this post

    I am using the Aurelia bridge and have issues when clearing the mullti select.

    Clearing the selected values, by clicking the little 'x' to the right in the compopnent, doesn't seem to fire an event.

    The API for the multiSelect describes the select/deSelect events but nothing for clear.

    Am I missing something? Sholdn't it emit a change event?

     

    Cheers,

    Henrik Valerian

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1202 posts

    Posted 03 Feb 2017 Link to this post

    Hello Henrik,

    The "change" event is triggered when the value is cleared (or otherwise changed), unless the change is performed programmatically via the value() method. In such scenarios the change event must be triggered manually.

    The filtering event is also fired when filtering is performed, as well as when the value, along with any filtering text in the input, is cleared via the "clear" button:

    http://dojo.telerik.com/iLaqO

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top