Skip to content
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

Component: Placeholder not working in dropdown Reactive Forms and Template #14679

Closed
hmcampoverde opened this issue Jan 31, 2024 · 1 comment · Fixed by #14684
Closed

Component: Placeholder not working in dropdown Reactive Forms and Template #14679

hmcampoverde opened this issue Jan 31, 2024 · 1 comment · Fixed by #14684
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@hmcampoverde
Copy link

hmcampoverde commented Jan 31, 2024

Describe the bug

I am using dropdown component with Reactive Forms and Template, however When I start my application the Placeholder property does not work
primeng_001_v17 4 0

Environment

N/A

Reproducer

https://stackblitz.com/edit/6n4rvb

Angular version

17.0.5

PrimeNG version

17.4.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.10.0

Browser(s)

Chrome 121.0.6167.86

Steps to reproduce the behavior

  1. Set value of placeholder property in p-dropdown component using reactive form and template
  2. Abra el navegador y verifique el dropdown y vea que el valor establecido en la propiedad placeholder no se presenta al iniciar la app
    primeng_002_v17 4 0

Expected behavior

When starting the app the dropdown component must present the value established in placeholder
primeng_003_v17 4 0

@hmcampoverde hmcampoverde added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 31, 2024
@hmcampoverde hmcampoverde reopened this Jan 31, 2024
@hmcampoverde
Copy link
Author

THE BUG
primeng_004_v17 4 0
THE SOLUTION
primeng_005_v17 4 0

@cetincakiroglu cetincakiroglu 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 Feb 1, 2024
@cetincakiroglu cetincakiroglu added this to the 17.5.0 milestone Feb 1, 2024
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants