Skip to content

dropdownBlock icon not working #8

Description

@scottyraymond

Good Day,

I am using shinydashboardPlus 0.6.0.9000 and I came across a minor error in the generated HTML today. For dropdownBlock elements, I couldn't figure out why the icons were not showing up. After inspecting the HTML I can see that the automatic HTML generation may need to be updated, as it is not handling the icon properly.

Please see below for the HTML extracted from the Google Chrome inspector.

<li class="dropdown" id="mydropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">
    <!-- Note the <i class="fa fa-sliders"></i>" -->
    <i class="fa fa-<i class="fa fa-sliders"></i>"></i>
    Dropdown 1
    <!-- Would be good to ensure documentations shows 'label' as a property  -->
    <span class="label label-danger">2</span>
  </a>
  <ul class="dropdown-menu" style="left: 0; right: auto;"> ... </ul>
</li>

Another item would be to ensure the the help documentation includes mentions of 'label' and 'badgeStatus' properties.

Thanks.
Scott

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions