Problem with Initial Values

Hi, this is smiliar to  Problem initializing/updating tags fo... | Blazor Forums | Syncfusion®
I have a similar problem
But Im using a Custom Data Adaptor
I have changed the sample attached to use a Custom Data Adaptor (most simple possible)
I've also updated to dotnet 9 and version 29.2.11 of syncfusion
Image_5406_1753970421661

Im using the same multiselect but with the DataManager

Here in the first load you can see the first problem, the component renders as if everythihng is selected

Image_6204_1753970395174

If you delete at least one and click into the MultiSelect, it wil show a List of ALL itens, while it should shows only the deleted one

Image_3075_1753970496400

Ive attached the project sample




Attachment: MultiselectInitialValuesProblem_b7c2fe11.7z


2 Replies

YA YuvanShankar Arunagiri Syncfusion Team August 19, 2025 07:45 AM UTC

Hi Daniel,


We have checked and confirmed the issue as “The selected value was shown in the Multi Select popup list while using the custom data manager" and logged a defect report. We will include the fix for this issue in the upcoming weekly patch release scheduled for second week of September.


Feedback link: https://www.syncfusion.com/feedback/69516/the-selected-value-was-shown-in-the-multi-select-popup-list-while-using-the-custom


You will be informed regarding this once the fix is published.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

YuvanShankar A



YA YuvanShankar Arunagiri Syncfusion Team October 3, 2025 12:51 PM UTC

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:


  1. 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


Loader.
Up arrow icon