[PR #9206] Enable text search on combo boxes #27477

Open
opened 2026-01-31 09:22:11 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/9206

State: closed
Merged: Yes


ComboBox has a text search function that allows users to type letters, and the ComboBoxItem starting with those letters is shown. In order to enable this functionality, the underlying items must be IStringable. This exposes a ToString() function and fixes all of our issues.

This PR adds the IStringable interface to ColorScheme, Profile, and EnumEntry.

References

#6800 - Settings UI Epic
#8768 - Keyboard Navigation
https://github.com/microsoft/microsoft-ui-xaml/issues/4182 - discussion with WinUI about how to overcome this issue

Validation Steps Performed

Tested...

  • Launch > Default Profile
  • Color Schemes > Name
  • Profile > Appearance > Color scheme
  • Profile > Appearance > Font weight

Also tested radio buttons, but those still don't work, unfortunately. Looks like they don't have the same underlying mechanism.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/9206 **State:** closed **Merged:** Yes --- `ComboBox` has a text search function that allows users to type letters, and the `ComboBoxItem` starting with those letters is shown. In order to enable this functionality, the underlying items must be `IStringable`. This exposes a `ToString()` function and fixes all of our issues. This PR adds the `IStringable` interface to `ColorScheme`, `Profile`, and `EnumEntry`. ## References #6800 - Settings UI Epic #8768 - Keyboard Navigation https://github.com/microsoft/microsoft-ui-xaml/issues/4182 - discussion with WinUI about how to overcome this issue ## Validation Steps Performed Tested... - Launch > Default Profile - Color Schemes > Name - Profile > Appearance > Color scheme - Profile > Appearance > Font weight Also tested radio buttons, but those still don't work, unfortunately. Looks like they don't have the same underlying mechanism.
claunia added the pull-request label 2026-01-31 09:22:11 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27477