Bug: Dropdown updating value to null keeps the text to the old property. #1951

Open
opened 2026-01-29 18:16:00 +00:00 by claunia · 0 comments
Owner

Originally created by @tharreck on GitHub (Jan 15, 2026).

Describe the bug
The text of the dropdown does not dissapear when you set the Value of a dropdown to null through the model.
It looks like the selectedItem property in dropdownbase is not set to null when the value is updated to null

To Reproduce
Steps to reproduce the behavior:

  1. Go to PlayGround
  2. Select an item in the dropdown.
  3. Click on the clear button
  4. See that allow clear button dissappears but the text is still shown. (selectedItem in dropdown base does not get cleared when setting value to null)

Expected behavior
The text should be cleared in the dropdown when the Value of the dropdown is set to null.

Originally created by @tharreck on GitHub (Jan 15, 2026). **Describe the bug** The text of the dropdown does not dissapear when you set the Value of a dropdown to null through the model. It looks like the selectedItem property in dropdownbase is not set to null when the value is updated to null **To Reproduce** Steps to reproduce the behavior: 1. Go to [PlayGround](https://blazor.radzen.com/playground/b7c5539a-1c55-4024-ae5c-39ec6edb127a) 2. Select an item in the dropdown. 3. Click on the clear button 4. See that allow clear button dissappears but the text is still shown. (selectedItem in dropdown base does not get cleared when setting value to null) **Expected behavior** The text should be cleared in the dropdown when the Value of the dropdown is set to null.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1951