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

Toolbar: Accept documented template names #13814 #13815

Conversation

anlampe
Copy link
Contributor

@anlampe anlampe commented Oct 5, 2023

Fixes #13814

There is generally an inconsistency regarding the naming of the templates (left vs. start, right vs. end). Additionally the documentation doesn't reflect the implementation of the Toolbar, means it only accepts right and left as template names.

Fix

The Toolbar now additionally accepts the template names start and end.

@vercel
Copy link

vercel bot commented Oct 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
primeng-ssr-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2023 8:01am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Oct 9, 2023 8:01am

@@ -19,6 +20,11 @@ export class ToolbarDemo {
label: 'Basic',
component: BasicDoc
},
{
id: 'template',
label: 'Template',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can add a description for template section like the others sections.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added a description, I hope it is ok now. Thanks for reviewing!

@cetincakiroglu cetincakiroglu merged commit 32ee09b into primefaces:master Oct 11, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toolbar: Inconsistent naming and wrong documentation
3 participants