Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynamicDialog: Improve templates option to use dynamic components in header and footer templates. #3736

Closed
mertsincan opened this issue Mar 10, 2023 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@mertsincan
Copy link
Member

mertsincan commented Mar 10, 2023

Exp;

// App.vue
const dialogRef = this.$dialog.open(ProductListDemo, {  
   templates: {  
      footer: markRaw(FooterDemo)
    },

   ...
});
// FooterDemo.vue
<template>
    <button ...>
    ...etc.
</template>

Details; https://vuejs.org/api/reactivity-advanced.html#markraw

@mertsincan mertsincan added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Mar 10, 2023
@mertsincan mertsincan added this to the 3.24.1 milestone Mar 10, 2023
@mertsincan mertsincan self-assigned this Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

1 participant