Skip to content

Commit b80fdef

Browse files
committed
Add field type textarea
1 parent c60e1f4 commit b80fdef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/common/components/utils/BsForm.js

+8
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ let BsFormField = ({
106106
{text}
107107
</p>
108108
);
109+
} else if (type === 'textarea') {
110+
formControl = (
111+
<textarea
112+
className="form-control"
113+
{...input}
114+
{...rest}
115+
/>
116+
);
109117
} else {
110118
formControl = (
111119
<input

0 commit comments

Comments
 (0)