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

Remove placeholder in non-empty Chips component #4438

Closed
KeithGillette opened this issue Nov 14, 2017 · 0 comments
Closed

Remove placeholder in non-empty Chips component #4438

KeithGillette opened this issue Nov 14, 2017 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@KeithGillette
Copy link
Contributor

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
<p-chips placeholder="some text"> displays some text even when chips have been added.

Expected behavior
Placeholder text should only appear in an empty Chips component.

Minimal reproduction of the problem with instructions
http://plnkr.co/edit/Yebwt4Jo8JFQhRRmBYWh?p=preview

What is the motivation / use case for changing the behavior?
Inconsistent with other components that support placeholder text. See similar case made & implemented for <p-autocomplete [multiple]="true">

@cagataycivici cagataycivici self-assigned this Nov 17, 2017
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 17, 2017
@cagataycivici cagataycivici added this to the 5.0 milestone Nov 17, 2017
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

2 participants