Topic: PopConfirm method 'getOrCreateInstance' not working

f.vanknijff priority asked 1 year ago


**Expected behavior** let mdbConfirm = mdb.Popconfirm.getOrCreateInstance(domElement); Method gives me an instance of the popConfirm or makes a new instance and returns it

**Actual behavior** Method doesn't exist within my library

**Resources (screenshots, code snippets etc.)** enter image description here popconfirm docu


Kamila Pieńkowska staff answered 1 year ago


This method does work as shown below (check console output). https://mdbootstrap.com/snippets/standard/kpienkowska/4645370

If it doesn't work within your code there may be something wrong with your import or execution.

Is this the only Error you get in the console? How are you doing imports? Does this error happen in the snippet too?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: Thinkpad P52s
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes