-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
p-dropdown float label overlaps input when selected value is 0 #10245
Comments
Yes, same here.
|
@yigitfindikli do you accept PR for this bug? |
@yigitfindikli do you will apply this fix to the v11 version? |
Hello @yigitfindikli! We need this fix in 11 version of primeng, since we are using Angular 11 and not able to upgrade it now. Could you please release 11.4.6 as soon as possible? Thank you. |
If you are still in Angular 11 (or any version before primeng fix) this is how I was able to fix it...
|
I fixed the issue by setting the property [autoDisplayFirst]="false"
|
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-cvtkcm
Current behavior
Float label overlaps with dropdown when selected value is 0 (possibly all falsy values behave this way)
https://prnt.sc/1310ep8
Expected behavior
Float label does not overlap with dropdown when selected value is 0
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/github-cvtkcm
What is the motivation / use case for changing the behavior?
We have dropdowns where list of items may contain 0
Please tell us about your environment:
Windows 10, VS Code, npm
The text was updated successfully, but these errors were encountered: