feat(forms): added support for textarea
This commit is contained in:
@@ -83,8 +83,8 @@ class BrowserDomAdapter extends GenericBrowserDomAdapter {
|
||||
void setText(Node el, String value) {
|
||||
el.text = value;
|
||||
}
|
||||
String getValue(InputElement el) => el.value;
|
||||
void setValue(InputElement el, String value) {
|
||||
String getValue(el) => el.value;
|
||||
void setValue(el, String value) {
|
||||
el.value = value;
|
||||
}
|
||||
bool getChecked(InputElement el) => el.checked;
|
||||
|
||||
+2
@@ -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