Topic: Drop down not working angular 6 mdb pro

ceyon67 pro asked 5 years ago


I've removed mdb.scss in my project and the drop menu works just fine.  When I put it back it no longer works(when clicked nothing is displayed). the code i used was from bootstrap 4 website to test and made sure it was clean. please advise.


ceyon67 pro commented 5 years ago

after coping your code for angular drop down. My app doesn't load, I took a look at the console and got the error below. SCRIPT5022: Template parse errors: No provider for MdbCompleterDirective (" [ERROR ->] <button mdbDropdownToggle type="button" class="btn btn-p"): ng:///AppModule/NavbarComponent.html@15:4

ceyon67 pro commented 5 years ago

Please help as this is a production application i'm working on and i need this functionality to continue.

Damian Gemza staff commented 5 years ago

Dear ceyon67, Could you please provide me with the dropdown code which is you using? Also did you add schemas: [NO_ERRORS_SCHEMA] in module which imports MDB Pro module? It's necessary. Waiting for more information from you. Best Regards, Damian

ceyon67 pro commented 5 years ago

It start to work. not sure why it didn't before might be an issue with importing bootstrap js.

FREE CONSULTATION

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

Status

Closed

Specification of the issue

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