feat(forms): add status to AbstractControlDirective

This commit is contained in:
Fabian Wiles
2017-08-05 09:59:32 +12:00
committed by Hans
parent 9320f34f19
commit 233ef93e88
3 changed files with 9 additions and 0 deletions

View File

@ -36,6 +36,8 @@ export abstract class AbstractControlDirective {
get touched(): boolean|null { return this.control ? this.control.touched : null; }
get status(): string|null { return this.control ? this.control.status : null; }
get untouched(): boolean|null { return this.control ? this.control.untouched : null; }
get disabled(): boolean|null { return this.control ? this.control.disabled : null; }