feat(forms): added support for textarea
This commit is contained in:
2
modules/angular2/src/forms/directives.js
vendored
2
modules/angular2/src/forms/directives.js
vendored
@ -77,6 +77,8 @@ export class ControlDirective {
|
||||
constructor(@Ancestor() groupDirective:ControlGroupDirective, el:NgElement) {
|
||||
this._groupDirective = groupDirective;
|
||||
this._el = el;
|
||||
this.controlName = null;
|
||||
this.type = null;
|
||||
this.validator = validators.nullValidator;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user