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
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.
KEkevindevJanuary 9, 2020 05:51 AM
Perfect, this works. Thank you for the information.
SPSureshkumar P Syncfusion Team January 10, 2020 01:28 AM