From b80fdef23b079f138a373fc4488bed0e23595bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=81=E6=B2=BB=E5=B9=B3?= Date: Tue, 8 Nov 2016 03:27:59 +0800 Subject: [PATCH] Add field type `textarea` --- src/common/components/utils/BsForm.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/common/components/utils/BsForm.js b/src/common/components/utils/BsForm.js index c42e0ee..008d9c2 100644 --- a/src/common/components/utils/BsForm.js +++ b/src/common/components/utils/BsForm.js @@ -106,6 +106,14 @@ let BsFormField = ({ {text}

); + } else if (type === 'textarea') { + formControl = ( +