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) {
|
confirmPosition(position) {
|
||||||
this.$confirm.require({
|
this.$confirm.require({
|
||||||
key: 'positionDialog',
|
group: 'positionDialog',
|
||||||
message: 'Do you want to delete this record?',
|
message: 'Do you want to delete this record?',
|
||||||
header: 'Delete Confirmation',
|
header: 'Delete Confirmation',
|
||||||
icon: 'pi pi-info-circle',
|
icon: 'pi pi-info-circle',
|
||||||
|
@ -93,4 +93,4 @@ export default {
|
||||||
'ConfirmDialogDoc': ConfirmDialogDoc
|
'ConfirmDialogDoc': ConfirmDialogDoc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -314,7 +314,7 @@ export default {
|
||||||
},
|
},
|
||||||
confirmPosition(position) {
|
confirmPosition(position) {
|
||||||
this.$confirm.require({
|
this.$confirm.require({
|
||||||
key: 'positionDialog',
|
group: 'positionDialog',
|
||||||
message: 'Do you want to delete this record?',
|
message: 'Do you want to delete this record?',
|
||||||
header: 'Delete Confirmation',
|
header: 'Delete Confirmation',
|
||||||
icon: 'pi pi-info-circle',
|
icon: 'pi pi-info-circle',
|
||||||
|
@ -376,7 +376,7 @@ export default defineComponent({
|
||||||
setup() {
|
setup() {
|
||||||
const confirm = useConfirm();
|
const confirm = useConfirm();
|
||||||
const toast = useToast();
|
const toast = useToast();
|
||||||
|
|
||||||
const confirm1 = () => {
|
const confirm1 = () => {
|
||||||
confirm.require({
|
confirm.require({
|
||||||
message: 'Are you sure you want to proceed?',
|
message: 'Are you sure you want to proceed?',
|
||||||
|
|
Loading…
Reference in New Issue