This is a migrated thread and some comments may be shown as answers.

Clear-click not firing event?

1 Answer 894 Views
MultiSelect
This is a migrated thread and some comments may be shown as answers.
henrik
Top achievements
Rank 1
henrik asked on 01 Feb 2017, 10:05 AM

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

1 Answer, 1 is accepted

Sort by
1
Dimiter Topalov
Telerik team
answered on 03 Feb 2017, 07:53 AM
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.
Tags
MultiSelect
Asked by
henrik
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or