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: Select placeholder lost after value change #17110

Closed
Delagen opened this issue Dec 18, 2024 · 0 comments · Fixed by #17116
Closed

Component: Select placeholder lost after value change #17110

Delagen opened this issue Dec 18, 2024 · 0 comments · Fixed by #17116
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Delagen
Copy link
Contributor

Delagen commented Dec 18, 2024

Describe the bug

Placeholder does not restore after clearing value in editable mode

Environment

Prime NG 19.0.0-rc.1
Same on v18
Same on v17

Reproducer

No response

Angular version

19.0.0

PrimeNG version

19.0.0-rc.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.11.0

Browser(s)

No response

Steps to reproduce the behavior

  1. Fill editable:true and placeholder:'any string' properties
  2. Enter or select any value from dropdown (select)
  3. Clear value
  4. Leave focus from field
  5. Placeholder not restored

Expected behavior

Placeholder is visible again

@Delagen Delagen 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 18, 2024
@Delagen Delagen changed the title Component: Select Component: Select placeholder lost after value change Dec 18, 2024
@mertsincan mertsincan added this to the 19.0.2 milestone Dec 19, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 19, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 19, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Dec 25, 2024
mehmetcetin01140 added a commit that referenced this issue Dec 25, 2024
…n-placeholder-bug

Fix: V18 Editable Dropdown(#17110) Placeholder bug
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Dec 25, 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
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants