Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: PopConfirm method 'getOrCreateInstance' not working

f.vanknijff priority asked 2 years 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 2 years 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