RadzenDropDown filtering persists after reopen when using ClearSearchAfterSelection=true

Message:

Hi everyone,

I'm experiencing a bug with the RadzenDropDown component when using the parameter ClearSearchAfterSelection="true":

Issue description

  • The search input is cleared after selecting an item (correct).

  • However, reopening the dropdown still applies the previous filter, even though the search input appears empty.

  • The filter only resets correctly when typing again or pressing backspace.

Steps to reproduce

  1. Visit the playground:
    https://github.com/radzenhq/radzen-blazor/issues/2405

  2. Expand the dropdown and type some text in the filter input.

  3. Select one of the filtered items, dropdown collapses (OK).

  4. Reopen the dropdown:

    • Input is empty (expected as ClearSearchAfterSelection=true)

    • But the previously applied filter is still active (unexpected).

  5. Typing or backspace re-triggers correct filtering.

Expected behavior

When reopening, the search input should be empty and no filter should be applied to the options.

Current behavior

The filter remains in effect until the user types again.


Related GitHub issue

I've created an issue with full details here.


Demo GIF

dropdown-clear-search-bug


Thanks for any help or insights!
Daniel

I’ve fixed the issue and the fix will be part of our next update next week.

Thank you very much @enchev :folded_hands: