Fixed #4443 - DynamicDialog: passing pt when opening new dialogs

pull/4954/head
mertsincan 2023-12-10 21:33:07 +00:00
parent b3dc8b0c22
commit 0e97a92a15
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<template v-for="(instance, key) in instanceMap" :key="key"> <template v-for="(instance, key) in instanceMap" :key="key">
<DDialog v-model:visible="instance.visible" :_instance="instance" v-bind="instance.options.props" :pt="pt" :unstyled="unstyled" @hide="onDialogHide(instance)" @after-hide="onDialogAfterHide"> <DDialog v-model:visible="instance.visible" :_instance="instance" v-bind="instance.options.props" @hide="onDialogHide(instance)" @after-hide="onDialogAfterHide">
<template v-if="instance.options.templates && instance.options.templates.header" #header> <template v-if="instance.options.templates && instance.options.templates.header" #header>
<component v-for="(header, index) in getTemplateItems(instance.options.templates.header)" :is="header" :key="index + '_header'" v-bind="instance.options.emits"></component> <component v-for="(header, index) in getTemplateItems(instance.options.templates.header)" :is="header" :key="index + '_header'" v-bind="instance.options.emits"></component>
</template> </template>