RadenDropdown space in filter issue #1778

Closed
opened 2026-01-29 17:58:27 +00:00 by claunia · 0 comments
Owner

Originally created by @evdboom on GitHub (Jun 4, 2025).

Is your feature request related to a problem? Please describe.
We use the RadzenDropdown to select certain models. Most model names have spaces in them. When you initially select a value and reopen de the dropdown (with filtering on) the space gets trimmed because the space will trigger selecting the same value.

You can circumvent this by manually moving the selectedindex to -1 (keep pressing up), but in a long list this is a lot of clicks.

Describe the solution you'd like
When typing in the filter the most probable action is to select a new value. Therefore, when typing something in the filter we'd like to see the the selectedindex reset to -1, so a space wont trigger a select untill you press down/right to start moving through the list.

Describe alternatives you've considered
Have tried multiple settings currently supplied for the RadzenDropdown to no avail. Up to capturing the situation in javascript to prevent it.

Additional context
I have created a fork where I implemented the suggested change in the DropDownBase.cs and put it behind a parameter to prevent unintentional changes for other people. Can create a pull request for it.

Originally created by @evdboom on GitHub (Jun 4, 2025). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** We use the RadzenDropdown to select certain models. Most model names have spaces in them. When you initially select a value and reopen de the dropdown (with filtering on) the space gets trimmed because the space will trigger selecting the same value. You can circumvent this by manually moving the selectedindex to -1 (keep pressing up), but in a long list this is a lot of clicks. **Describe the solution you'd like** When typing in the filter the most probable action is to select a new value. Therefore, when typing something in the filter we'd like to see the the selectedindex reset to -1, so a space wont trigger a select untill you press down/right to start moving through the list. **Describe alternatives you've considered** Have tried multiple settings currently supplied for the RadzenDropdown to no avail. Up to capturing the situation in javascript to prevent it. **Additional context** I have created a fork where I implemented the suggested change in the DropDownBase.cs and put it behind a parameter to prevent unintentional changes for other people. Can create a pull request for it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1778