MultiSelect: dynamic text in placeholder is not displayed #14321
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The text in the placeholder is not displayed if it is generated dynamically using pipe.
Environment
OS: Windows 8.1, Windows 10
Reproducer
https://stackblitz.com/github/dbelob/primeng-multiselect-placeholder-error
Angular version
17.1.2
PrimeNG version
17.5.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.11.0
Browser(s)
Chrome 120.0.6099.71, Firefox 120.0.1, Edge 120.0.2210.61
Steps to reproduce the behavior
p-multiSelect
placeholder
attribute (for example{{'selectCountry' | translate}}
)Expected behavior
The text is successfully displayed in PrimeNG 16.6.0
https://stackblitz.com/github/dbelob/primeng-multiselect-placeholder-error/tree/primeng16.6.0
Text should be displayed after opening the application:
Text should change after changing the language:
The text was updated successfully, but these errors were encountered: