material-input
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "material-input", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "An easy drop-in material-input solution as a custom element", | ||
@@ -5,0 +5,0 @@ "main": "src/material-input.js", |
@@ -204,2 +204,3 @@ 'use strict'; | ||
this._setValue(this.getAttribute('value')); | ||
this.$input.value = this.value; | ||
this._setLabel(this.getAttribute('label')); | ||
@@ -328,3 +329,2 @@ this._setPlaceholder(this.getAttribute('placeholder')); | ||
this.$hiddenInput.value = val; | ||
this.$input.value = val; | ||
// set state depending on value | ||
@@ -331,0 +331,0 @@ this._toggle(this.$container, 'is-empty', val === ''); |
1031702