Zimbra Modern ModalDialog cancel button functionality implementation

Interested in talking about Mash-up's? This is the place.
Post Reply
sam007
Posts: 1
Joined: Mon Oct 27, 2025 5:29 am

Zimbra Modern ModalDialog cancel button functionality implementation

Post by sam007 »

Hi all,
I am creating a zimlet and in that i am using dialog from "import { ModalDialog } from '@zimbra-client/components';"
In modal dialog by default there are 2 buttons action and cancel button and here for cancel button i am not able to assign my custom function, using onclose value i am able to assign but that gets affected to my close button also, i dont want that.
is there anyway to assign separate function for cancel and close buttons? please help.
Post Reply