Merge pull request #1143 from Rakasch/docu_confirm_dialog_group
fix ConfirmDialog example and documentationpull/1281/head
commit
6874616c45
|
@ -75,7 +75,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',
|
||||
|
@ -93,4 +93,4 @@ export default {
|
|||
'ConfirmDialogDoc': ConfirmDialogDoc
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
@ -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?',
|
||||
|
|
Loading…
Reference in New Issue