GWT Bootstrap TextArea multine不工作

时间:2017-02-17 04:20:33

标签: gwtbootstrap3

我正在使用GWTBootstrap3, 我有一个textArea,我在文本区域输入了3个不同的行 但是,当我在某个地方显示它时,它只有一行

我以为GWtbootstrap3 textArea会处理multiLine本身,我错了,我是否需要为此做点什么。

请指导

                 <b:Column size="XS_12,SM_6,MD_6,LG_4">
                            <b:FormGroup ui:field="formRemarks">
                                <b:FormLabel for="remarksForm" ui:field="remarksForm" >
                                <ui:msg meaning="remarks">Remarks</ui:msg></b:FormLabel>
                                <b:TextArea name="remarks" debugId="remarks" ui:field="remarks" />
                            </b:FormGroup>
                        </b:Column>

1 个答案:

答案 0 :(得分:0)

用以下内容替换现有的TextArea行:

<b:Column size="XS_12,SM_6,MD_6,LG_4">
   <b:FormGroup ui:field="formRemarks">
     <b:FormLabel for="remarksForm" ui:field="remarksForm" >
     <ui:msg meaning="remarks">Remarks</ui:msg></b:FormLabel>
     <b:TextArea name="remarks" rows="4" debugId="remarks" ui:field="remarks"></b:TextArea>
   </b:FormGroup>
</b:Column>