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.)

snippet whith button:

Michał Duszak staff answered 2 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.

Please insert min. 20 characters.


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



Specification of the issue

  • 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