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

Add selection modes to dropdown component #220

Closed
macandcheese opened this issue Nov 6, 2019 · 2 comments
Closed

Add selection modes to dropdown component #220

macandcheese opened this issue Nov 6, 2019 · 2 comments
Labels
enhancement Issues tied to a new feature or request.

Comments

@macandcheese
Copy link
Contributor

There are use cases around the dropdown that:

  • require multiple items to be selected within a dropdown-group (multiple active items)
  • do not require any items to be selected within a dropdown-group (no active items) - use case as links / overflow menu for example.

We could add these as a selection-mode prop that accepts one of ["single", "multi", "single-persist", "none"] - it should default to "single" to maintain current functionality.

Thoughts? We have similar functionality in accordion, tree-nav as well.

@macandcheese
Copy link
Contributor Author

Added in #226

Copy link
Contributor

Issue #10310 has been closed, this issue is ready for re-evaluation.

cc @geospatialem,@DitwanP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant