Popconfirm onConfirm event emitted when close() is called


Topic: Popconfirm onConfirm event emitted when close() is called

Dave Moniz premium priority asked 11 months 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 commented 11 months ago

I could for now use the messages you can pass from close() and confirm(), but it seems to be broken also. The message passed in close() is received in onConfirm while the message passed in confirm() is undefined in onConfirm.


Arkadiusz Idzikowski staff commented 11 months ago

@Dave Moniz Thank you for letting us know about this problem, we will check that and let you know what we found.


Dave Moniz premium priority answered 11 months ago

Can confirm this was fixed as of MDB5 1.0.0.

Closing now.


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • 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