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

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

 

undefined