Topic: Modal examples just reload page
Ian Worthington free asked 6 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.
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: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Damian Gemza staff commented 6 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, DamianIan Worthington free commented 6 years ago
*facepalm*