wrap console log in if

This commit is contained in:
Brandy Carney
2015-12-17 19:39:20 -05:00
parent 24c3b3d787
commit c20191eb88

View File

@ -491,7 +491,7 @@ export class TextInputElement {
}
ngAfterContentChecked() {
console.log("Value", this.ngControl.value);
if (this.ngControl) console.log("Value", this.ngControl.value);
if (this.ngControl) this.value = this.ngControl.value;
this.wrapper && this.wrapper.hasValue(this.value);
}