Topic: Popconfirm onConfirm event emitted when close() is called
Dave Moniz premium priority asked 3 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.
Dave Moniz premium priority answered 3 years ago
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0-beta5
- Device: PC
- Browser: Google Chrome
- OS: Arch Linux
- Provided sample code: No
- Provided link: No
Dave Moniz premium priority commented 3 years ago
I could for now use the messages you can pass from
close()
andconfirm()
, but it seems to be broken also. Themessage
passed inclose()
is received inonConfirm
while themessage
passed inconfirm()
isundefined
inonConfirm
.Arkadiusz Idzikowski staff commented 3 years ago
@Dave Moniz Thank you for letting us know about this problem, we will check that and let you know what we found.