Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Using the example from the documentation, the ListBox displays properly and the drag and drop work fine. However, if I decorate the properties with the JsonPropertyAttribute, 
the ListBox still displays fine, but the drag and drop causes errors in the console.

    public class CountryCode
    {
        [Newtonsoft.Json.JsonProperty("name")]
        public string Name { get; set; }
        [Newtonsoft.Json.JsonProperty("code")]
        public string Code { get; set; }
    }

results in:

 

There may be no obvious reason to do this in a simple app, but if the model is coming from an external source (and the user is unaware of those properties), this can be very confusing. Especially since we've already specified the correct name

    <ListBoxFieldSettings Text="Name" Value="Code" />


Attached sample project.