From d63aff69e36ba0a4ce8d1f40b95e45ba4978902a Mon Sep 17 00:00:00 2001 From: Daniel Bendel Date: Wed, 8 Jun 2016 21:50:16 +0200 Subject: [PATCH] fix(md-input): fix placeholder in textareas, fixes #192 --- src/input/input.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'); }