strange filter behavior

Hey there, 

I am using a Combobox with a List of Strings, als Datasource.
After adding custom values the popup only shows the last added value, if I cleared the inputbox completely.
With an empty input I would expect to see all entires in the datasource.

this is my example code:

<Syncfusion.Blazor.DropDowns.SfComboBox TValue="string" TItem="string" DataSource="entries" AllowCustom="true" AllowFiltering="true" @bind-Value="selected" @ref="ComboBox" FilterType="FilterType.Contains">

    <ComboBoxEvents TValue="string" Filtering="@OnFiltering" TItem="string" />

    <ComboBoxTemplates TItem="string">

        <NoRecordsTemplate>

            <div>

                <div id="nodata">Kein Eintrag gefunden. Neunen Eintrag anlegen?</div>

                <SfButton id="btn" class="e-control e-btn custom-button" @onclick="@AddItem">Hinzufügen</SfButton>

            </div>

        </NoRecordsTemplate>

    </ComboBoxTemplates>

</Syncfusion.Blazor.DropDowns.SfComboBox>

        


private SfComboBox<string, string>? ComboBox { get; set; }

private List<string> entries = ["Item1","Item2"];

private string selected = "Item1";

private string customValue = string.Empty;


private void OnFiltering(FilteringEventArgs args)

{

    customValue = args.Text;

}

private async void AddItem()

{

    entries.Add(customValue);

    await ComboBox?.RefreshDataAsync();

}


2 Replies

SM Suresh Masanam Syncfusion Team November 27, 2025 02:16 PM UTC

Hi Alexander Kuhlmann,

                            We have considered the reported issue " Filtering does not work when using Custom Value with RefreshDataAsync" as a bug from our end and the fix for the issue will be included in our upcoming weekly patch release, which is expected to be rolled out on last week of December.

Now you can track the status of the reported issue through the feedback below,
Filtering does not work when using Custom Value with RefreshDataAsync in Blazor | Feedback Portal

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”  


Regards,

Suresh



KN Kundurthi Naga Siddartha Kundurthi Vennela Prasad Syncfusion Team February 9, 2026 06:14 AM UTC

Hello Alexander Kuhlmann,

The reported scenario “Filtering does not work when using Custom Value with RefreshDataAsync ” has been fixed in our v32.1.20 release.


To resolve this behavior, please upgrade your Syncfusion Blazor packages to version 32.1.20.


Root cause: 

When calling the RefreshDataAsync method to update the popup list after the user types something, the TypedString property was not being updated. As a result, ListData and ListDataSource were not refreshed, causing the issue.


Loader.
Up arrow icon