Skip to content

Commit 658adf7

Browse files
author
edencoder
committed
fix input
1 parent 42e9502 commit 658adf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundles/form/views/field/textarea/input.riot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
this.default = true;
4242
4343
// set default
44-
this.$('input').value = this.props.default;
44+
$(this.$('textarea')).val(this.props.default);
4545
}
4646
}
4747
@@ -69,7 +69,7 @@
6969
*/
7070
val() {
7171
// return non accumulated value
72-
return this.$('input').value;
72+
return $(this.$('textarea')).val();
7373
}
7474
}
7575

0 commit comments

Comments
 (0)