Dynamic Dialog templates #185
-
Hey y'all, I started using PrimeVue and had issue with templates in dynamic dialog. I want to add container template in dialog like
due to Documentation but dynamic dialog exports and as i understood supports only
Do we have any solution to solve this issue? Maybe some other ways to do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, Dialog also has a default slot and the first parameter of the open function represents the default slot. Like in the below example ProductListDemo.
On the other hand, the container slot wraps the whole dialog (header, footer, and default slot). If the container slot is to be used, there is no need to use the default slot. A backward compatible way can be considered for DynamicDialog. |
Beta Was this translation helpful? Give feedback.
Hey,
Dialog also has a default slot and the first parameter of the open function represents the default slot. Like in the below example ProductListDemo.
On the other hand, the container slot wraps the whole dialog (header, footer, and default slot). If the container slot is to be used, there is no need to use the default slot. A backward compatible way can be considered for DynamicDialog.