Remove placeholder in non-empty Chips component #4438
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
<p-chips placeholder="some text">
displayssome 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">
The text was updated successfully, but these errors were encountered: