-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Chip input in form field doesn't show placeholder #16380
Comments
@Airblader yes of course but the placeholder would still appear on top of the input, not after the last chip where the user should click to type the new chip text and would not serve the same purpose. Imagine having a list of email addresses, the placeholder on top of the list should not say "Enter new email" but preferably only "Emails". The purpose of the secondary placeholder would be to invite the user to enter new values. |
Yeah, sorry, I misunderstood. |
No worry, thanks for your suggestion... this only proves my request was not clear enough :) |
The chip input is inheriting some styles from `MatInput` which were causing it not to show its placeholder unless it's focused. These changes override the inherited styles to show it correctly. Fixes angular#16380.
Feature Description
Add an optional secondary placeholder for chips input component.
Use Case
In Angular Material for Angular.js chips input could have a secondary placeholder for when one chip was already present in the input. IMHO this increases the user experience by letting him know that chips can be added.
Reference: https://material.angularjs.org/1.1.0/demo/chips
The text was updated successfully, but these errors were encountered: