I have used the following codes to add a Cancel button besides a OK button, but got a "Property cancelBtn does not exist on type OneButtonPreset Builder". Can anyone let me know the steps to add a cancel button? Sorry I am new to the nodejs and angular world.
I have used the following codes to add a Cancel button besides a OK button, but got a "Property cancelBtn does not exist on type OneButtonPreset Builder". Can anyone let me know the steps to add a cancel button? Sorry I am new to the nodejs and angular world.
const confirmDialog = this.modal.alert() .size('lg') .showClose(true) .title(this.dialogTitle) .body(this.buildConfirmMsg(temp)) .okBtn("OK") .cancelBtn("Cancel") .open();