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!>
Thanks for joining our community and helping improve Syncfusion products!
While searching the available value from the data source, it shows multiple results with same text field and different value field. If we choose the first value from the result, the selection works perfectly. If we choose any other value from the result, the input gone empty
<SfComboBox TValue="int?" @bind-Value="AutoVal" TItem="Order" ItemsCount="20" AllowCustom="false" SortOrder="Syncfusion.Blazor.DropDowns.SortOrder.Ascending" Query="@fieldQuery" Placeholder="Select a value" AllowFiltering="true"> <SfDataManager Url=https://services.odata.org/V4/Northwind/Northwind.svc/Orders/ Adaptor="Adaptors.ODataV4Adaptor"></SfDataManager> <ComboBoxFieldSettings Text="ShipName" Value="OrderID"></ComboBoxFieldSettings> </SfComboBox>
@code{
public class Order { public int? OrderID { get; set; } public string CustomerID { get; set; } public DateTime? OrderDate { get; set; } public double? Freight { get; set; } public string ShipName { get; set; } } public int? AutoVal { get; set; } = 10447; public Query fieldQuery = new Query();
} |
Issue reproducing sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ComboBox_Odata_issue-2139218419