feat(forms): added support for textarea

This commit is contained in:
vsavkin
2015-03-19 09:51:30 -07:00
parent 81312e4b3e
commit f42e6337b7
3 changed files with 23 additions and 2 deletions

View File

@ -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;