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

Case study: two-level menu with <select-single> #309

Merged
merged 3 commits into from
May 27, 2021
Merged

Conversation

adamstep
Copy link
Contributor

Example of implementing a two-level menu using two <select-single> elements.

This first <select-single> triggers behavior on select and deselect to show subsets of <option> elements in the second <select-single>.

Screen.Recording.2021-05-26.at.10.34.23.PM.mov

@adamstep adamstep requested a review from ashwinibm May 27, 2021 05:36
@terryatgithub
Copy link
Contributor

terryatgithub commented May 27, 2021

hi @adamstep , this is an amazing and concise implementation.
it's great to put all sublists into one single select-single, and show hide each section in it.

let me study and dive in to find if it can match some detailed requirements.

Thank you sooooooo much.

Copy link
Contributor

@ashwinibm ashwinibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

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

Successfully merging this pull request may close these issues.

3 participants