Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow searching by group #1559

Open
ganapathyHf opened this issue Dec 12, 2022 · 0 comments
Open

allow searching by group #1559

ganapathyHf opened this issue Dec 12, 2022 · 0 comments

Comments

@ganapathyHf
Copy link

ganapathyHf commented Dec 12, 2022

Currently, ember power select allows searching options. So given a group of options

 groups = [{
   groupName: 'IT',
   options: [...options related to IT]
 }, {
 groupName: 'HR &Admin',
 options: [...options related to HR]
 }]

searching an option will show both the group and the option.

Similarly can we allow searching the options by its group? Eg: I want to enter HR & Admin and all options related to it are shown.
I checked the codebase and other issues in the repo and found that we can achieve this by having a custom search function or having a search field that is a combination of option name and group name but can we have this feature built-in as searching by group seems to be a common/valid use case?

@ganapathyHf ganapathyHf changed the title allow searching options by group allow searching by group Dec 12, 2022
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

No branches or pull requests

1 participant