Skip to content

Commit 67ea3cd

Browse files
committed
fix nativeId duplicate
1 parent 69026c6 commit 67ea3cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paper-input.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
allowed-pattern="[[allowedPattern]]"
231231
invalid="{{invalid}}"
232232
validator="[[validator]]">
233-
<input id="nativeInput"
233+
<input
234234
aria-labelledby$="[[_ariaLabelledBy]]"
235235
aria-describedby$="[[_ariaDescribedBy]]"
236236
disabled$="[[disabled]]"
@@ -307,7 +307,7 @@
307307

308308
_onIronInputReady: function() {
309309
if (this.inputElement &&
310-
this._typesThatHaveText.indexOf(this.$.nativeInput.type) !== -1) {
310+
this._typesThatHaveText.indexOf(this.$$('input').type) !== -1) {
311311
this.alwaysFloatLabel = true;
312312
}
313313

0 commit comments

Comments
 (0)