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
Template of selectedItem is not working. It should be displaying "This is a customvalue" in the input field.
<p-select [options]="types" appendTo="body" [style]="{ width: '100%' }"> <ng-template pTemplate="selectedItem" let-item> This is a customvalue </ng-template> <ng-template pTemplate="item" let-item> {{ item }} - test </ng-template> </p-select>
upgrading from 18.0.0-rc.1 to 18.0.0
https://stackblitz.com/edit/github-wcuxbgyk?file=package.json
18.0.1
18.0.0
Angular CLI App
TypeScript
v22.5.1
Chrome v. 131.0.6778.86
selectedItem should display custom value.
The text was updated successfully, but these errors were encountered:
Fixed in 8513e95
Sorry, something went wrong.
cetincakiroglu
No branches or pull requests
Describe the bug
Template of selectedItem is not working. It should be displaying "This is a customvalue" in the input field.
Environment
upgrading from 18.0.0-rc.1 to 18.0.0
Reproducer
https://stackblitz.com/edit/github-wcuxbgyk?file=package.json
Angular version
18.0.1
PrimeNG version
18.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v22.5.1
Browser(s)
Chrome v. 131.0.6778.86
Steps to reproduce the behavior
Expected behavior
selectedItem should display custom value.
The text was updated successfully, but these errors were encountered: