-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Create a template for DynamicDialog footer #7603
Comments
I would also like this feature, but update your issue to correctly reflect the class you're trying to reference |
Is this available? |
I've solved this issue on my own to see if it was possible, as well as, several other features that would be useful. Looks like there's an interest in it. I'll try and get a pull request out this weekend |
@BensonBen, That would be really helpful. Please comment when you have this completed. Thanks |
I needed this too but for the header, I patched it in on my end by changing the header to instead be a innerhtml binding and it seems to be working fine, still trying to find a more elegant solution though. |
Can anyone tell me if this improvement will be implemented? |
same here, need it very quickly |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
Hi @mertsincan - this feature has not been added. Can you please reopen the issue? |
i just needed the feature, thank u @toxaq, hope it's will be deploy soon |
Hi, You can use templating options of dynamic dialog https://primeng.org/dynamicdialog#api.dynamicdialog-ref.interfaces.DynamicDialogTemplates Please also see the example: https://primeng.org/dynamicdialog#example |
@cetincakiroglu Is there any chance to support adding header/content/footer by referencing some specific directive (simply pass TemplateRef). The possibility to pass only the Footer or Header components is quite inconvenient. It would be nice to have an option, building dialog contents, to just put a directive over a element, and that directive would be checked in Prime Dialog component. |
** I'm submitting to ... **
[] bug report
[X] feature request
[] support request
** Current behavior **
Today it's only possible to put a string in footer
** Expected behavior **
It would be interesting put a template, where you can put anything there
Like the p-dialog where you can put a p-footer
** What is the motivation / use case for changing the behavior? **
I need to show a button on a p-dynamicdialog footer.
** Please tell us about your environment: **
I'm using Win10 and Yarn for my package manager
** Angular version: ** 7.2.6
** PrimeNG version: ** 7.0.0
** Browser: ** all
** Language: ** all
** Node (for AoT issues): **
node --version
= 10.13.0The text was updated successfully, but these errors were encountered: