Hiding the {{paper-input}}
character counts
Material Design requires that a character count is displayed for input elements which have a length restriction. However, when forms have many input elements, some may prefer to display the count only when the element is focused or invalid. This CSS achieves this.
.md-char-counter {
display: none;
}
md-input-container.md-input-focused .md-char-counter,
md-input-container.md-input-invalid .md-char-counter {
display: block;
}
Recipe contributions
Have a great tip or solution for ember-paper
? Submit a pull request on GitHub or discuss it with the team on Discord #e-paper for inclusion here.