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

Option Groups are not searchable #108

Open
hamza-hajji opened this issue Jan 30, 2018 · 0 comments
Open

Option Groups are not searchable #108

hamza-hajji opened this issue Jan 30, 2018 · 0 comments

Comments

@hamza-hajji
Copy link

Select option groups are not searchable

  • What's your use case?
    I have an application that uses option groups, and I'd like to search not only the nested options, but also the groups.

For example if I have options that look something like this

[{
    label: 'USA',
    options: [{
      value: 'mit',
      label: 'MIT'
    }, {
       value: 'harvard',
       label: 'Harvard'
    }]
  }, {
    label: 'India',
    options: [{
    	value: 'university-of-delhi',
        label: 'University of Delhi'
    }, {
    	value: 'university-of-calcutta',
        label: 'University of Calcutta'
    }]
  }
]

I'd like to also be able to type india and the group with all of its children appear.

Is there a way to do this? and if not, hopefully this will be implemented in a future version. Thanks

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