-
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
Dropdown: dynamic text in placeholder is not displayed #14320
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Comments
dbelob
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Dec 11, 2023
See same issue #14321 |
mehmetcetin01140
added
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Jan 5, 2024
same issue here, aparently [placeholder]="value" is set only the first time and then is not detecting the change of the value |
@cetincakiroglu pls add multiselect bug to 17.6.0 milestone. |
Thanks a lot for letting me know, I've added it now. |
cetincakiroglu
added a commit
that referenced
this issue
Feb 7, 2024
Fix Dropdown: dynamic text in placeholder is not displayed fixes #14320
@cetincakiroglu Greetings, can this PR be forwarded to primeng v16 ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
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-dropdown-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-dropdown
with or withoutng-template
placeholder
attribute (for example{{'selectCountry' | translate}}
)Expected behavior
The text is successfully displayed in PrimeNG 16.6.0
https://stackblitz.com/github/dbelob/primeng-dropdown-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: