Topic: Dropdown Group Error

junior5417 pro asked 6 years ago


Hi, I'm trying to use Dropdown Pro component from your documentation:
<!-- Small button group -->
<div class="btn-group">
    <button class="btn btn-danger btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        Small button
    </button>
    <div class="dropdown-menu">
        <a class="dropdown-item" href="#">Action</a>
        <a class="dropdown-item" href="#">Another action</a>
        <a class="dropdown-item" href="#">Something else here</a>
        <div class="dropdown-divider"></div>
        <a class="dropdown-item" href="#">Separated link</a>
    </div>
</div>
But the dropdown is not working, am i missing something here?

Damian Gemza staff commented 6 years ago

Dear junior5417, The code which has you posted here comes from jQuery version of MDB. It won't work in the Angular application. Instead of it, please use code from this site: https://mdbootstrap.com/angular/components/dropdowns/ Best Regards, Damian


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags