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

Add p-placeholder to Dropdown label #84

Closed
fairking opened this issue Nov 9, 2019 · 2 comments
Closed

Add p-placeholder to Dropdown label #84

fairking opened this issue Nov 9, 2019 · 2 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@fairking
Copy link

fairking commented Nov 9, 2019

Would like to apply a custom style to the placeholder text but I cannot see any difference between empty label and selected label. I would like to apply opacity to the placeholder.
See what I've got now:
Screenshot_7

And what I would like to achieve:
Screenshot_8

"primevue": "1.0.0-beta.12"

@fairking
Copy link
Author

fairking commented Nov 10, 2019

The AutoComplete placeholder looks fine. Opacity is missing on Dropdown and MultiSelect components. See also examples: https://www.primefaces.org/primevue/#/dropdown

@cagataycivici cagataycivici self-assigned this Nov 20, 2019
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Nov 20, 2019
@cagataycivici cagataycivici added this to the 1.0.0-beta.14 milestone Nov 20, 2019
@cagataycivici cagataycivici changed the title Cannot apply opacity to placeholder Add p-placeholder to Dropdown label Nov 20, 2019
@cagataycivici
Copy link
Member

With beta.14 you can use .p-placeholder class to add opacity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants