Skip to content

feat: method to check filtering state of select fields#524

Merged
raphamorim merged 1 commit intocharmbracelet:mainfrom
jon4hz:feat/get-filtering
Feb 7, 2025
Merged

feat: method to check filtering state of select fields#524
raphamorim merged 1 commit intocharmbracelet:mainfrom
jon4hz:feat/get-filtering

Conversation

@jon4hz
Copy link
Copy Markdown
Contributor

@jon4hz jon4hz commented Feb 6, 2025

Hi,

Currently, it isn't possible to get the filtering state of a huh.Field.
I found a use case, where this can be useful. I'm using huh as a bubbletea bubble to highjack some key binding, but only if the form isn't filtered.

@jon4hz jon4hz requested a review from a team as a code owner February 6, 2025 23:54
@jon4hz jon4hz requested review from raphamorim and removed request for a team February 6, 2025 23:54
@raphamorim raphamorim merged commit 2eba4f3 into charmbracelet:main Feb 7, 2025
21 checks passed
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.

2 participants