question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to set the SubMenu and SubMenu in the option can be selected?

See original GitHub issue

What problem does this feature solve?

SubMenu optional

What does the proposed API look like?

<SubMenu onSelected={this.onSelected} key="sub1" title={<span><Icon type="mail" /><span>Navigation One</span></span>}>
          <Menu.Item key="1">Option 1</Menu.Item>
          <Menu.Item key="2">Option 2</Menu.Item>
          <Menu.Item key="3">Option 3</Menu.Item>
          <Menu.Item key="4">Option 4</Menu.Item>
</SubMenu>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

13reactions
0xNoSignalcommented, May 9, 2018

Actually there is quiet a lot of use cases for this.

For example, if you sell different kind of furniture, you have

  • Sideboards – Highboards – Lowboards – Sideboards
  • Couches – 2-Seater – 3-Seater – L-Couch

and you obviously want to be able to select all the sideboards or all the couches and not just the deepest level

6reactions
yuribitcommented, Mar 19, 2019

@benjycui, I have a scenario similar to the one described in the comment above, should I open a new issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sub menu in option tag - html - Stack Overflow
1 Answer 1 ; rel · "stylesheet" ; href · "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" ; integrity · "sha384-MCw98/ ...
Read more >
How to Add a Menu and Submenu Items to a WordPress ...
... Matthew Turner - No Tech Fluff In this video, Matthew will show you how to create menus on your WordPress...
Read more >
Tutorial #11: Creating Sub Menu Items (Drop Down ... - YouTube
This tutorial demonostrates how to create ghost menu items (menu items that don't link to anything) and how to create sub menu …...
Read more >
Targeting Menu Elements with Submenus in a Navigation Bar
The common way to address this issue, is to simply add a class to the <li> s that contain <ul> s (sub menus)...
Read more >
How to Add Submenus - Talkroute Support
A pop-up will appear. Enter a name, select an audio file for the submenu and configure your menu options. After the submenu has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found