Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: third_party/polymer/components/paper-input/paper-input-char-counter.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/components/paper-input/paper-input-char-counter.html
diff --git a/third_party/polymer/components/paper-input/paper-input-char-counter.html b/third_party/polymer/components/paper-input/paper-input-char-counter.html
index aa3ee51f418ac4705ccf51b07ca97039e5be63f6..1a09a06d0ee062c23cf3876c9a7cca91c4abaed0 100644
--- a/third_party/polymer/components/paper-input/paper-input-char-counter.html
+++ b/third_party/polymer/components/paper-input/paper-input-char-counter.html
@@ -41,6 +41,10 @@ Custom property | Description | Default
@apply(--paper-input-char-counter);
}
+ :host([hidden]) {
+ display: none !important;
+ }
+
:host-context([dir="rtl"]) {
float: left;
}
@@ -83,7 +87,7 @@ Custom property | Description | Default
state.value = state.value || '';
- var counter = state.value.length.toString();
+ var counter = state.value.toString().length.toString();
if (state.inputElement.hasAttribute('maxlength')) {
counter += '/' + state.inputElement.getAttribute('maxlength');

Powered by Google App Engine
This is Rietveld 408576698