mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
wrap console log in if
This commit is contained in:
@ -491,7 +491,7 @@ export class TextInputElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngAfterContentChecked() {
|
ngAfterContentChecked() {
|
||||||
console.log("Value", this.ngControl.value);
|
if (this.ngControl) console.log("Value", this.ngControl.value);
|
||||||
if (this.ngControl) this.value = this.ngControl.value;
|
if (this.ngControl) this.value = this.ngControl.value;
|
||||||
this.wrapper && this.wrapper.hasValue(this.value);
|
this.wrapper && this.wrapper.hasValue(this.value);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user