I dynamically bind
(list of years) to this autocomplete.
If the lstYears items are updated then, the autocomplete displays the new listitems in the autocomplete.
This works fine....
But if lstYears is emptied(no items in this list), the Autocomplete shows the old list items in the autocomplete. I want this autocomplete to be empty when the binding list is empty. How shld that be achieved.
BABagavathiPerumal Apranandham Syncfusion Team April 10, 2023 08:48 AM UTC
As AutoComplete is classic control, we suggest you to use the SfTextBoxExt control to achieve your requirements. This is an alternative to AutoComplete control. Please refer to the below-mentioned documentation and the attached sample for your reference.