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
close icon

Two-way data binding for multiselect does not working anymore

Something happened in version 17.4.46,
Multiselect control does not binding two way value any more,
To me look like BUG here is sample copy / paste from documentation page.
https://ej2.syncfusion.com/blazor/documentation/multiselect/data-binding/?no-cache=1#two-way-data-binding

@page "/counter"
@using Syncfusion.EJ2.Blazor.DropDowns

@foreach (var SelectedValue in MultiVal)
{
   

MultiSelect value is:@SelectedValue

}

EjsMultiSelect Placeholder="e.g. Australia" @bind-Value="@MultiVal" DataSource="@Country"
    MultiSelectFieldSettings Value="Name" MultiSelectFieldSettings
EjsMultiSelect

@code {

    public string[] MultiVal { get; set; } = new string[] { };

    public class Countries
    {
        public string Name { get; set; }

        public string Code { get; set; }
    }

    List Country = new List
{
        new Countries() { Name = "Australia", Code = "AU" },
        new Countries() { Name = "Bermuda", Code = "BM" },
        new Countries() { Name = "Canada", Code = "CA" },
        new Countries() { Name = "Cameroon", Code = "CM" },
    };
}

2 Replies

SP Sureshkumar P Syncfusion Team February 4, 2020 06:06 AM UTC

Hi Admir, 
 
We have validated your explained scenario. We confirmed this as a bug in our end. And the fix will be available this week patch release. Which is expected to be rolled out on February 5th, 2020. We appreciate your patience until then. 
 
You can track the status of the bug in the below feedback link from below.   
  
 
Regards, 
Sureshkumar P 



SP Sureshkumar P Syncfusion Team February 6, 2020 10:04 AM UTC

 
Thanks for the patience. 
 
We are glad to announce that our latest release in the version 17.4.47 has been rolled out successfully and in that release, we have included the “Two Way Binding Is Not Updating After First Selection”.  So, we suggest you upgrade our Syncfusion packages to our latest version to resolve this issue in your end. 
     
Scripts:  
 
Themes:  
 
Please find the release notes details from the below link. 
 
Regards,
Sureshkumar P
 


Loader.
Live Chat Icon For mobile
Up arrow icon