Skip to content

feat(MultiSelectionPrompt): Add support for search and filtering (#2163) - #2173

Open
HillkirkLautaro wants to merge 5 commits into
spectreconsole:mainfrom
HillkirkLautaro:feat/multi-selection-prompt-search-2163
Open

feat(MultiSelectionPrompt): Add support for search and filtering (#2163)#2173
HillkirkLautaro wants to merge 5 commits into
spectreconsole:mainfrom
HillkirkLautaro:feat/multi-selection-prompt-search-2163

Conversation

@HillkirkLautaro

@HillkirkLautaro HillkirkLautaro commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #2163

  • I have read the Contribution Guidelines
  • I have checked that there isn't already another pull request that solves the above issue
  • All newly added code is adequately covered by tests
  • All existing tests are still running without errors

Changes

I've used IA to add search and filtering capabilities to MultiSelectionPrompt, bringing parity with SelectionPrompt.

  • Added SearchEnabled, SearchPlaceholderText, and SearchHighlightStyle properties to MultiSelectionPrompt.
  • Updated IListPromptStrategy<T>.Render to display the search input/placeholder when SearchEnabled is set to true and highlight matching text using SearchHighlightStyle.
  • Updated IListPromptStrategy<T>.CalculatePageSize to properly account for search UI rows when calculating available terminal height.
  • Updated public API verification tests (Public_API.Output.verified.txt).

Please upvote 👍 this pull request if you are interested in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add filter/search to MultiSelectionPrompt

1 participant