Topic: PopConfirm method 'getOrCreateInstance' not working
f.vanknijff pro premium 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.)** popconfirm docu
kpienkowska 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?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- 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