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

Fixed #13910 - Menu Templating #13911

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Fixed #13910 - Menu Templating #13911

merged 2 commits into from
Oct 25, 2023

Conversation

gucal
Copy link
Contributor

@gucal gucal commented Oct 18, 2023

fixed #13910

@vercel
Copy link

vercel bot commented Oct 18, 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 25, 2023 1:27pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2023 1:27pm

@cetincakiroglu cetincakiroglu merged commit da7a7dd into master Oct 25, 2023
3 of 4 checks passed
@cetincakiroglu cetincakiroglu deleted the issue-13910 branch October 25, 2023 13:23
@Michael-Ziluck
Copy link

This breaks all existing usage of the template for tab menus. Previously We only needed to do the following:

<p-tabMenu [(activeItem)]="currentTab" [model]="tabItems">
  <ng-template pTemplate="item" let-item>
    {{ item.label | translate: I18N_PRODUCT }}
  </ng-template>
</p-tabMenu>

Which would result in this display:
image

Now with the same markup, it results in this:
image

The change is because previously, the <ng-container> was within the <a> tag. I know you updated the docs to reflect this, but shouldn't breaking changes be constrained to major version changes? Seems wildly arbitrary and inconvenient for users to have to make the change. I'll be opening a bug issue as well.

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.

Menu | item template support
3 participants