Using QSelect to make a filter menu with the input within the menu #17637
Unanswered
acordy
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to create something like the component found here:
https://mui.com/material-ui/react-autocomplete/#githubs-picker
When some element is clicked, a menu pops up with an input and a list of options, and the input value is used as a filter. My first thought was to see if I could do something like this with QSelect, but its field is separate from the menu. This could be done by just sticking an text input in a menu with the list and having the input value filter the list, but I'm hoping to leverage the many features of QSelect like keyboard navigation, multiple options, chips, etc.
Basically, is there a way for QSelect to function with the field and options list rendered within the same element? Is there a better approach to doing this or some other component I'm overlooking? Any advice or suggestions would be appreaciated.
Beta Was this translation helpful? Give feedback.
All reactions