Topic: Popconfirm onConfirm event emitted when close() is called
                  
                  Dave Moniz
                  priority
                  asked 4 years ago
                
Expected behavior
As per the documentation close() is attached to the Cancel button and confirm() is attached to the OK button. Cancel should emit onClose and OK should emit onConfirm
Actual behavior
They both emit onConfirm then onClose. There's no value in this.
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Closed
Specification of the issue
              - ForumUser: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta5
- Device: PC
- Browser: Google Chrome
- OS: Arch Linux
- Provided sample code: Yes
- Provided link: No
Dave Moniz priority commented 4 years ago
I could for now use the messages you can pass from
close()andconfirm(), but it seems to be broken also. Themessagepassed inclose()is received inonConfirmwhile themessagepassed inconfirm()isundefinedinonConfirm.Arkadiusz Idzikowski staff commented 4 years ago
@Dave Moniz Thank you for letting us know about this problem, we will check that and let you know what we found.