We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfMultiSelect not showing selected items when data source is loaded after render

If I hard code the data source of the multiselect, as I click an item, it is immediately shown in the multi select drop down as selected.

However if the data source of the multi select is loaded after render (via an API call etc) the selected items do not show until I have lost focus of the multi select. Once refocusing the items appear as clicked as expected.

Please see attached a solution containing a reproduction of the issue.


Attachment: SfMultiSelectIssue_8a4576de.zip

4 Replies

SP Sureshkumar P Syncfusion Team December 8, 2022 10:54 AM UTC

Hi Mike,

You can load the remote data by referring to our below documentation.

Find the documentation here: https://blazor.syncfusion.com/documentation/multiselect-dropdown/data-source#binding-remote-data

And, when validating the attached sample, the reported issue is not replicated from our end. if still you have faced the same issue, then share the exact issue replication procedure. these details will help us to provide an exact solution as earlier as possible.

Regards,

Sureshkumar P



MA Mike Andrews December 8, 2022 11:02 AM UTC

Hi Sureshkumar,


Thanks for replying.

Is loading a DataSource without using the SfDataManager not supported then?

I can reproduce on that solution - Please see video of the issue. You can see on the dynamically loaded data, the items don't appear as they are clicked, but they do in the hard coded one.


Many thanks,

Mike


Attachment: Desktop_2022.12.08__10.57.54.01_a72162ae.zip


SP Sureshkumar P Syncfusion Team December 12, 2022 12:03 PM UTC

Mike, thanks for your shared information. We have confirmed the reported issue is an issue at our end and this fix will be included in our any one of upcoming patch releases,

You can track the status of this issue from the below feedback.

Feedback: https://www.syncfusion.com/feedback/39719

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



SP Sureshkumar P Syncfusion Team February 7, 2023 04:57 AM UTC

Hi All,    


We have fixed your reported issue from our end in the latest 20.4.42 version. So, we suggest you upgrade to our latest version to resolve the current issue.


Find the release notes here: https://blazor.syncfusion.com/documentation/release-notes/20.4.42?type=all#multiselect

Regards,  

Sureshkumar P


Loader.
Live Chat Icon For mobile
Up arrow icon