We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When pTemplate="selectedItems" is defined, the multiselect ignores it.
<p-multiselect [options]="countries" [(ngModel)]="selectedCountries" optionLabel="name" placeholder="Select Countries" display="chip" appendTo="body" > <ng-template let-selectedCountries pTemplate="selectedItems"> //<--Always ignored <div *ngFor="let country of selectedCountries"> {{ 'TEST' + country.name }} </div> </ng-template> <ng-template let-country pTemplate="item"> <div> <div>{{ 'TEST INNER ITEM ' + country.name }}</div> </div> </ng-template> </p-multiselect>
ng18, primeng18
https://stackblitz.com/edit/github-wcuxbgyk-b2wvspkg
18
Angular CLI App
TypeScript
20.11
No response
Selected items template should be defined regarding pTemplate='selectedItems'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When pTemplate="selectedItems" is defined, the multiselect ignores it.
Environment
ng18, primeng18
Reproducer
https://stackblitz.com/edit/github-wcuxbgyk-b2wvspkg
Angular version
18
PrimeNG version
18
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
Selected items template should be defined regarding pTemplate='selectedItems'
The text was updated successfully, but these errors were encountered: