Modal examples just reload page


Topic: Modal examples just reload page

Ian Worthington asked 7 years ago

https://mdbootstrap.com/javascript/bootstrap-modal-form/ Trying these out, and at the least the first two example, just copy and pasting them into an app.component.html page, they don\'t work. Clicking them just reloads the page.


Damian Gemza staff commented 7 years ago

Dear Ian, You're using jQuery modals. This won't work in Angular. Instead of jQuery please use Angular code from this link: https://mdbootstrap.com/angular/advanced/modals/ Best Regards, Damian

Ian Worthington commented 7 years ago

*facepalm*

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
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No