The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I can see a ClearSelection() method in the React API, but not in the Vue version - can you please advise how I can clear down a dropbox so the current user selection is removed.
Thank you, this does clear the selected value, but has a side effect: I am tracking changes to the list using the :change parameter in the js-dropdownlist component to define a function to call when a change occurs. I then want to carry out an action and clear the value within this call. The side effect of clearing the value is that it seems to then refire the change function!
Is there a way round this?
SNSevvandhi Nagulan Syncfusion Team January 8, 2020 09:03 AM
Hi Kevin
We would like to inform that when you clear the selected value, then the change event will be triggered. We cannot able to restrict the change event. However, you can restrict the change event code using the args. While clearing the value args.item and args.itemData both will be null. So based on the value you can perform action.
Regards,
Sevvandhi N
KEkevindevJanuary 9, 2020 05:51 AM
Perfect, this works. Thank you for the information.
SPSureshkumar P Syncfusion Team January 10, 2020 01:28 AM