diff --git a/src/views/confirmdialog/ConfirmDialogDemo.vue b/src/views/confirmdialog/ConfirmDialogDemo.vue index ef5bd6dc2..c0f39ce0e 100644 --- a/src/views/confirmdialog/ConfirmDialogDemo.vue +++ b/src/views/confirmdialog/ConfirmDialogDemo.vue @@ -74,7 +74,7 @@ export default { }, confirmPosition(position) { this.$confirm.require({ - key: 'positionDialog', + group: 'positionDialog', message: 'Do you want to delete this record?', header: 'Delete Confirmation', icon: 'pi pi-info-circle', @@ -92,4 +92,4 @@ export default { 'ConfirmDialogDoc': ConfirmDialogDoc } } - \ No newline at end of file + diff --git a/src/views/confirmdialog/ConfirmDialogDoc.vue b/src/views/confirmdialog/ConfirmDialogDoc.vue index 4ea3f7c93..a6c88f494 100644 --- a/src/views/confirmdialog/ConfirmDialogDoc.vue +++ b/src/views/confirmdialog/ConfirmDialogDoc.vue @@ -314,7 +314,7 @@ export default { }, confirmPosition(position) { this.$confirm.require({ - key: 'positionDialog', + group: 'positionDialog', message: 'Do you want to delete this record?', header: 'Delete Confirmation', icon: 'pi pi-info-circle', @@ -376,7 +376,7 @@ export default defineComponent({ setup() { const confirm = useConfirm(); const toast = useToast(); - + const confirm1 = () => { confirm.require({ message: 'Are you sure you want to proceed?',