Skip to content

Commit

Permalink
fix(md-input): fix placeholder in textareas, fixes #192
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Jun 8, 2016
1 parent ccc9e28 commit d63aff6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit d63aff6

Please sign in to comment.