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 does not correctly handle empty label strings #1468

Closed
sid-6581 opened this issue Aug 24, 2021 · 0 comments
Closed

Dropdown does not correctly handle empty label strings #1468

sid-6581 opened this issue Aug 24, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2-portable
Milestone

Comments

@sid-6581
Copy link
Contributor

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request

Current behavior

When a dropdown label is an empty string (""), the height of the dropdown control gets smaller. The height of the blank string option in the dropdown list is also less than the labels with non-blank strings.

Expected behavior

A label consisting of a blank string should have the same height as other strings.

  • Vue version: 2 and 3 (latest versions)

  • PrimeVue version: 2 and 3 (latest versions)

  • Browser: [ Chrome (latest) ]

@cagataycivici cagataycivici self-assigned this Aug 27, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 27, 2021
@cagataycivici cagataycivici added this to the 3.7.0 milestone Aug 27, 2021
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 vue2-portable
Projects
None yet
Development

No branches or pull requests

2 participants