Skip to content

Confirmation dialog

Showing a confirmation modal dialog to a user before doing some actions.

Available in views.

    this.confirm({
        message: this.translate('someMessageName', 'messages'),
        confirmText: this.translate('Confirm'), // text of the confirmation button
    }).then(() => {
        // here do some actions
    });