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

Dropdown: Placeholder magic cannot be disabled #15974

Closed
LoaderB0T opened this issue Jul 8, 2024 · 0 comments
Closed

Dropdown: Placeholder magic cannot be disabled #15974

LoaderB0T opened this issue Jul 8, 2024 · 0 comments
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@LoaderB0T
Copy link
Contributor

Describe the bug

Recently a PR was merged to automatically set the placeholder of a dropdown to its floatlabel to prevent empty dropdowns. Issue: #14954 PR: #15383

For our use case, we do not want a placeholder. If the dropdown is empty, it should be empty. The new behavior is neither opt-in nor opt-out which is a problem for us.

I need a solution to prevent the placeholder from being set automatically. By the way, the current solution would override a custom placeholder explicitly set by the user. Not ideal!

Environment

PrimeNG 17.18.3
Angular 17.3.9

Reproducer

No response

Angular version

17.3.9

PrimeNG version

17.18.3

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@LoaderB0T LoaderB0T added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 8, 2024
@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 Jul 11, 2024
@cetincakiroglu cetincakiroglu added this to the 17.18.4 milestone Jul 11, 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

No branches or pull requests

3 participants