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

Dave Moniz 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 priority commented 3 years 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 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.


Dave Moniz priority answered 3 years 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

  • 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