CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

ComboBox select item not in search result.

Open NF-DomenicoDUva opened this issue 5 months ago • 0 comments
trafficstars

Issue: When using a Combobox component with both Multiselect and Editable options enabled, pressing Enter during a search will automatically select the first item in the list, even if that item does not match the current search query.

Expected Behavior: Pressing Enter should either:

Select the currently typed value (if allowed), or select the first item matching the search query

Do nothing if there is no matching result, depending on configuration.

Actual Behavior: Instead, the component selects the first item in the dropdown list, even if it does not match the user's input.

Steps to Reproduce:

Use a Combobox with Multiselect and Editable enabled.

Start typing a value that doesn’t exist in the list.

Press Enter.

Result: The first item in the dropdown is selected, not the typed value.

Additional Context: Please refer to the video below for a demonstration of the issue.

https://github.com/user-attachments/assets/bbe237ad-75f9-424f-9f86-f28cdcf31f2b

NF-DomenicoDUva avatar May 23 '25 19:05 NF-DomenicoDUva