-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
pTemplate not working for p-toolbar alone #15608
pTemplate not working for p-toolbar alone #15608
Comments
@krabouilleur please create a sample app in stackblits to investigate this issue further. |
Hi @krabouilleur, please import import { ToolbarModule } from 'primeng/toolbar';
import { SharedModule } from 'primeng/api';
@Component({
selector: 'app-menu',
standalone: true,
imports: [ToolbarModule, SharedModule], |
@Sinan997 you are right here. @krabouilleur you should import the |
Fixed #15608 - Add missing import & export of sharedModule
There is the same issue for the p-menu component. Should a new issue be created? Because the document does not mention the import of SharedModule neither. |
Describe the bug
on a standalone component:
the ts
....
but the content of ng-template is showing if I add a cardModule
the ts
....
Environment
"primeng": "^17.16.1",
"@angular/core": "^17.3.0",
Reproducer
No response
Angular version
17.3
PrimeNG version
17.16.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.9.0
Browser(s)
chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: