diff --git a/src/input/input.js b/src/input/input.js index 6211460f..36633b6c 100644 --- a/src/input/input.js +++ b/src/input/input.js @@ -36,8 +36,11 @@ export class MdInput { this.updateService = updateService; } - attached() { + bind() { this.mdTextArea = getBooleanFromAttributeValue(this.mdTextArea); + } + + attached() { if (getBooleanFromAttributeValue(this.mdValidate)) { this.input.classList.add('validate'); }