Topic: modal hide/show not working
Alexandroni free asked 3 years ago
*Expected behavior*hide one modal and show other
*Actual behavior*hide one and not showing the second modal
Resources (screenshots, code snippets etc.)https://mdbootstrap.com/snippets/standard/alexandroni/3126247
snippet whith button: https://mdbootstrap.com/snippets/standard/alexandroni/3126273
Michał Duszak staff answered 3 years ago
Generally it's not a good idea to use multiple modals, but I have made solution for you. I have separated those modals, and created a second button which is hidden. The 'add' inside your first modal fires the second button which is hidden outside, which is effectively firing the second modal and hiding the first one.
https://mdbootstrap.com/snippets/standard/m-duszak/3129377#html-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.7.1
- Device: pc
- Browser: firefox
- OS: windows
- Provided sample code: No
- Provided link: Yes