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 to use disabled class in dropdowns #6459

Closed
Serhii-DV opened this issue Jan 5, 2013 · 3 comments
Closed

Allow to use disabled class in dropdowns #6459

Serhii-DV opened this issue Jan 5, 2013 · 3 comments
Labels
Milestone

Comments

@Serhii-DV
Copy link

I would like to use it something like that:

<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
  <li><a tabindex="-1" href="#">Action</a></li>
  <li><a tabindex="-1" href="#" class="disabled">Disabled action</a></li>
  <li><a tabindex="-1" href="#">Something else here</a></li>
  <li class="divider"></li>
  <li><a tabindex="-1" href="#">Separated link</a></li>
</ul>

@josevillalobos
Copy link

You can add that class to the LI instead of the A and you would get that behaviour

@Serhii-DV
Copy link
Author

Thanks, you are right.

And I think this feature should be somehow described in components examples.

@mdo
Copy link
Member

mdo commented Jan 12, 2013

Added mention of this in #6346. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants