Skip to content

Commit

Permalink
fix(md-attribute): update label using the bridge's function
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBalaganskiy committed Jul 2, 2019
1 parent af39acc commit e50e0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/md-inputmask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class MdInputmaskCustomAttribute {
inputmaskChangeHandler = () => {
let inputmask = this.element.au["inputmask"].viewModel;
if (inputmask) {
this.label.classList.add(inputmask.value ? "active" : "inactive");
au.updateLabel(inputmask.input, this.label);
}
}
}

0 comments on commit e50e0db

Please sign in to comment.