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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Two-way data binding for multiselect does not working anymore

Thread ID:

Created:

Updated:

Platform:

Replies:

151201 Feb 3,2020 02:54 PM UTC Feb 6,2020 10:04 AM UTC Blazor 2
loading
Tags: MultiSelect Dropdown
Admir Hodžic
Asked On February 3, 2020 02:56 PM UTC

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" },
    };
}

Sureshkumar P [Syncfusion]
Replied On 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 


Sureshkumar P [Syncfusion]
Replied On 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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon