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
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
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
Ive attached the project sample
Attachment: MultiselectInitialValuesProblem_b7c2fe11.7z
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
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
- 2 Replies
- 2 Participants
-
DA Daniel
- Jul 31, 2025 06:23 PM UTC
- Oct 3, 2025 12:51 PM UTC