sapui5 - Allign label and TextArea in XML View -
i have layout problem. want allineate label , text area form. don't output:
how can it? there wrong definition of text area?
my viwe this, problem?
... <content> <l:grid defaultspan="l12 m12 s12" hspacing="2" width="auto"> <l:content> <f:form id="formnewnomdog" minwidth="1024" maxcontainercols="2" editable="false" class="isreadonly"> <f:layout> <f:responsivegridlayout labelspanl="3" labelspanm="3" emptyspanl="4" emptyspanm="4" columnsl="1" columnsm="1" /> </f:layout> <f:formcontainers> <f:formcontainer> <f:formelements> <f:formelement label="codice nome doganale"> <f:fields> <textarea xmlns="sap.m" id="idcodnomdog" value="" width="" enabled="true" valuestate="none" rows="1" change="" livechange="onchangeformelement"> </textarea> </f:fields> </f:formelement> <f:formelement label="bene o servizio"> <f:fields> <switch state="false" customtexton="bene" customtextoff="serv" id="idbenser"> <layoutdata> <flexitemdata growfactor="1" /> </layoutdata> </switch> </f:fields> </f:formelement> <f:formelement label="presenza unita' supplementare"> <f:fields> <switch state="false" id="idpresunsuppl" change="onchangepresunsuppl"> <layoutdata> <flexitemdata growfactor="1" /> </layoutdata> </switch> </f:fields> </f:formelement> <f:formelement label="descrizione unita' supplementare"> <f:fields> <textarea xmlns="sap.m" id="iddescunsuppl" value="" width="" enabled="false" valuestate="none" rows="1" change="" livechange="onchangeformelement"> </textarea> </f:fields> </f:formelement> </f:formelements> </f:formcontainer> </f:formcontainers> </f:form> </l:content> </l:grid> </content> ...
set editable="true"
instead of "false"
.
Comments
Post a Comment