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

If we select the value from the searched results, then combo box field goes to empty.


Issue reproducing sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Blazor_WASM1783316684


Replication procedure:



Video: https://www.syncfusion.com/downloads/support/directtrac/336647/ze/video2_302542ec


Code for string:


@page "/"

@using Syncfusion.Blazor.DropDowns

@using Syncfusion.Blazor.Data

@using Syncfusion.Blazor


<SfComboBox TValue="string"

            @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="CustomerID"></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 string AutoVal { get; set; }

    public Query fieldQuery = new Query().Take(10);


}



Code for int?


@page "/"

@using Syncfusion.Blazor.DropDowns

@using Syncfusion.Blazor.Data

@using Syncfusion.Blazor


<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().Take(10);


}