Polymer 2: Two small input fixes

Change-Id: If3f444af8fab9472f4dde9845f3d8e6abdf83138
This commit is contained in:
brohlfs
2019-04-11 17:02:10 +02:00
committed by Ben Rohlfs
parent 6aa82ec016
commit 941153af4c
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,6 @@ limitations under the License.
no-label-float
id="input"
class$="[[_computeClass(borderless)]]"
is="iron-input"
disabled$="[[disabled]]"
value="{{text}}"
placeholder="[[placeholder]]"

View File

@@ -210,7 +210,8 @@
},
get _inputElement() {
return this.$.input;
// Polymer2: this.$ can be undefined when this is first evaluated.
return this.$ && this.$.input;
},
/**