What Changed
Drop-Down List Closing
In v24.1, the ComboBox and TagBox components now support one more user action to close the drop-down list. After opening the drop-down list, the list is closed when a user clicks within the input element again, a second time.
Drop-Down List Opening
For ComboBox only: In v23.2 and earlier, if the AllowUserInput property was set to true
or filtering was enabled, the ComboBox opened its drop-down list when a user started typing a text in the input element and this could confuse users. In v24.1, the ComboBox does not open the drop-down list in this case by default. We introduces a new DropDownTriggerMode property that allows you to specify when the ComboBox should open its drop-down list.
Reasons for Change
This change helps us to improve user experience, ensure consistent behavior with other Blazor components and follow accessibility standards.
Impact on Existing Apps
This change improves end-user experience.
How to Update Existing Apps
Recommended Approach
If you need that the ComboBox opens its drop-down when a user clicks within the input element, set the DropDownTriggerMode property to Click
.
Razor<DxComboBox Data="@Data"
@bind-Value="@Value"
DropDownTriggerMode="DropDownTriggerMode.Click">
</DxComboBox>
Temporary Solution (Not Recommended)
You can temporarily switch to the previous ComboBox/TagBox implementation. To do this, set the following properties to true
:
IMPORTANT: These properties will be removed in v24.2. Use them only as a temporary solution.