Hi,
We are using KendoUI AutoComplete for Angular6 like below.
<kendo-autocomplete #autocomplete style="width:100%" [(data)]="items" [valueField]="'DESCR_FULL'"
[suggest]="true" placeholder="Digita almeno 3 caratteri..." [(ngModel)]="selectedsedetechnica"
(valueChange)=SelectedAssetFromSTCombo($event) [filterable]="true" (filterChange)="handleFilter($event)">
</kendo-autocomplete>
valueChange event is fired even when the AutoComplete is tabbed out / blurred.
But we want to fire the "valueChange" event only when the user selects any one of the AutoComplete suggestions (by clicking on any one of the suggestions (or) by selecting any one one of the suggestions with keyboard ENTER key.). We don't want to fire this event when Aucomplete lost focus (blurred).
Because the autocomplete suggestions will vary based on the user. We don't want to process any data that is not coming from AutoComplete.
How to stop firing "valueChange" event when AutoComplete is tabbed out (or) lost focus
Thanks in advance,
Rajesh