Replies: 3 comments
-
If no title is added to the menu, the filter text will not be displayed (this also occurs with the |
Beta Was this translation helpful? Give feedback.
-
I forgot to add the test cases. |
Beta Was this translation helpful? Give feedback.
-
Hey @pjg11, thank you so much for wanting to make this project better! I've converted this to a discussion so we can talk through it and keep our backlog clear. If it does end up being something we want to add, we'll promote it back to an issue when we are ready to work on it. If we commit to this feature, that's a feature we will need to maintain for the lifespan of this project. So, since "Yes is forever", we are carefully considering new features. I do think this makes sense to implement given that we already support this in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I was working on recreating the older version of
gum choose
(prior to usinghuh
) withhuh
's Select field. The older version didn't have an input field or filtering, but Select has filtering enabled without an input field. So typing the/
key and typing input filters the list, but I don't see what I typed, which doesn't feel right (I also have the help section hidden).This also makes the current
gum choose
very similar in functionality togum filter
rather than it being a component with different functionality.I looked for a way to disable filtering, and noticed that Select does not have the option to do so. However MultiSelect does, and I'd like to suggest adding the option to Select as well.
Describe the solution you'd like
Add the
filterable
value to theSelect
struct in field_select.go, and the correspondingFilterable()
function to set the value offilterable
.Describe alternatives you've considered
Use the component as is, with filtering enabled (aka how
gum choose
currently works)Additional context
None
Beta Was this translation helpful? Give feedback.
All reactions