MultiSelect two-way binding only triggered once

Hi team,

I want to bind the MultiSelect to a variable, by doing this:

 Mode="@VisualMode.CheckBox" Placeholder="Select or search by site" DataSource="@_allSites" ShowSelectAll="@ShowSelectAllCheckBox" EnableSelectionOrder="@EnableSelectionOrders" FilterBarPlaceholder="Search sites" EnableGroupCheckBox="@EnableCheckBox" PopupHeight="350px">
     
@{
     foreach (var site in SiteMultiVal)
                            {
                               

MultiSelect value is:@site

                            }
}
@code{
     public List _allSites;
     public string[] SiteMultiVal { get; set; } = new string[] { };
     protected override async Task OnInitializedAsync()
     {
          _allSites = await Http.GetJsonAsync>("http://localhost:3000/sitesCustomer='AAA'");
     }
}


The thing is, when I tick the checkbox ( either select all or select multiple checkbox) it will only render the first selected item.

My SyncFusion version is 17.4.46. 

If updated to 17.4.49, It works better as the selected item will render if ticking those check-boxes separately, but for select-all checkbox, it still only render the first selected item on the dropdownlist.


3 Replies

SP Sureshkumar P Syncfusion Team February 18, 2020 02:13 PM UTC

Hi Feifan, 
  
Sorry for the inconvenience caused. 
 
We were able to replicate your reported problem. We have confirmed this as a bug at our end. We will fix and include the solution on our March first week patch release, which is expected to be rolled out on March 3rd, 2020. Please be patient until then. 
 
You can track the status of this problem by using the below feedback portal. 
 
 
Regards, 
Sureshkumar P 



UN Unknown June 25, 2020 05:34 AM UTC

Hi,

i can still repro the issue. Is there any update on this? The feedback ticket seems still to be open. 

Is there a workaround? Thats quite basic functionality not working..


SP Sureshkumar P Syncfusion Team June 26, 2020 11:04 AM UTC

Hi Nils, 
 
Thanks for your update. 
 
The reported issue was resolved our latest versions. Please upgrade our latest version to resolve your facing issue.  
 
We have created the sample based on your scenario. Please find the sample here: https://www.syncfusion.com/downloads/support/directtrac/general/ze/MultiSelectSelectAll1059902080  
 
Regards, 
Sureshkumar P 


Loader.
Up arrow icon