Hi Daniel,
Sorry
for the inconvenience. After further validating within the source code level of
the MultiSelect component, we determined that it originates at the sample
level. Please find the details below:
- The Read method was
not implemented correctly.
https://blazor.syncfusion.com/documentation/multiselect-dropdown/data-binding#custom-adaptor
2.
Stabilize data identity: Cache the dataset in the adaptor using
a private static readonly List<Countries> CachedCountries =
Countries.GetData() and utilize it in the Read method to avoid rebuilding lists
on each call.
|
private
static readonly List<Countries> CachedCountries = Countries.GetData();
|
After
implementing the above changes, the component is functioning correctly. Please
refer to the attached sample for your reference.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Multiselect
Output
screenshot:
Please let us know if you need any further assistance or
clarification.
Regards,
YuvanShankar A