Skip to content

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

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

raphamorim merged 1 commit into
charmbracelet:mainfrom
jon4hz:feat/get-filtering

Conversation

@jon4hz

@jon4hz jon4hz commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

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
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

⌂ 换网址