Topic: Hide.mdb.Model using preventDefault not work

leejoo71 free asked 2 years ago

Expected behavior on hide.mdb.modal event, I want to unhide model when click close button by using preventDefault.

Actual behavior it isn't work with preventDefault when event fired

Resources (screenshots, code snippets etc.)

leejoo71 free answered 2 years ago

I was fixed by use

Michał Duszak staff answered 2 years ago

If you don't want user to use a certain button, simply add disabled attribute to the button element.

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.10.2
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes