Duplicated
Last Updated: 21 Dec 2021 13:43 by ADMIN
Alan
Created on: 17 Dec 2021 19:41
Category: MultiSelect
Type: Bug Report
4
MultiSelect popup does not update when component state changes if popup is open.

Using row virtualization on MultiSelect, and am attempting to put a loading indicator into the popup content if the request to the server is still ongoing.

 

Problem with this is that the popup contents don't update if the popup is open when loading finishes.  I put together a reproduction on Telerik REPL showing the behavior I am experiencing.

https://blazorrepl.telerik.com/mvvQvVvN2458vinQ36

 

Note, Options finish loading (seen by the div update above the MultiSelect component), but if the popup is open, the contents do not update to reflect the loaded options.

 

 

My current workaround is to just make the MultiSelect disabled while it is doing its initial load.

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Apostolos
Posted on: 21 Dec 2021 13:43

Hi Alan,

Indeed, your observation is correct. Please take a look at this forum thread, which explains why all our popups work like that.

The workaround you implemented is valid. As long as the MultiSelect is closed when the data loads, it will work as you expect.

I am marking this post as duplicate, because there is already a related feature request. I also voted on your behalf to raise the popularity. You can follow the request for future updates.

Regards,
Apostolos
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!