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 dataadptor with the combobox and setting the value (@bind-value) on the after render async of the page is not working. The value is not setted.

Try this:

@using Syncfusion.Blazor.DropDowns @using Syncfusion.Blazor.Data @page "/test-sync-fusion-2" @code { public string binded { get; set; } public Query RemoteDataQuery = new Query().Select(new List { "CustomerID" }).Take(6).RequiresCount(); public class OrderDetails { public int? OrderID { get; set; } public string CustomerID { get; set; } public int? EmployeeID { get; set; } public double? Freight { get; set; } public string ShipCity { get; set; } public bool Verified { get; set; } public DateTime? OrderDate { get; set; } public string ShipName { get; set; } public string ShipCountry { get; set; } public DateTime? ShippedDate { get; set; } public string ShipAddress { get; set; } } protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { binded = "ANATR"; // value setted but not shown, if you than click on the combobox the value is setted. This is a sample, in my real codebase this thing make the combobox lose it's assignation } await base.OnAfterRenderAsync(firstRender); } }

or look for the two samples in the zip attached