简体   繁体   English

GWT Bootstrap TextArea Multine不起作用

[英]GWT Bootstrap TextArea multine not working

I am using GWTBootstrap3 , I have a textArea , I entered 3 different rows in my text area But when i display it somewhere it all comes in 1 single row 我正在使用GWTBootstrap3,我有一个textArea,我在文本区域中输入了3个不同的行,但是当我在某处显示它时,它全部排在1行中

I thought GWtbootstrap3 textArea will handle the multiLine itself , am i wrong , do i need to do something for this. 我以为GWtbootstrap3 textArea会自行处理multiLine,我错了,我需要为此做些什么吗?

please guide 请指导

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

Replace existing TextArea line with below: 将现有的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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM