cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to hide colons in SimpleForm

0 Kudos
1,587

Hi all,

How I can hide colons among label and text control (see attached file)? I tried find something in sap.ui.layout.form.SimpleForm.js file, but nothing found.

Regards,

Pavel

View Entire Topic
0 Kudos

Sure.

<mvc:View controllerName="ehs.inc.reportincidents1.controller.CreateIncident" xmlns:core="sap.ui.core" xmlns:f="sap.ui.layout.form"

  xmlns:footerbar="sap.ushell.ui.footerbar" xmlns:l="sap.ui.layout" xmlns:mvc="sap.ui.core.mvc" xmlns:semantic="sap.m.semantic"

  xmlns:smart="sap.ui.comp.smartfield" xmlns="sap.m">

  <semantic:DetailPage busy="{viewModel>/busy}" id="page" navButtonPress="onNavBack" title="{viewModel>/viewTitle}">

  <semantic:content>

  <l:VerticalLayout width="100%">

  <l:content>

  <f:SimpleForm columnsL="1" columnsM="1" editable="true" emptySpanL="1" emptySpanM="0" labelSpanL="3" labelSpanM="3"

  layout="ResponsiveGridLayout" maxContainerCols="1" width="100%">

  <f:content>

  <Label labelFor="LongTextCreate" required="true" text="What has happened?" class="sapMLabelNoText"></Label>

  <TextArea id="LongTextCreate" placeholder="{i18n>ymsg.detailIncidentDescriptionPlchld}"

  value="{viewModel>/locationData/IncidentDescriptionOfEvents}" width="100%"></TextArea>

  </f:content>

  </f:SimpleForm>

  </l:content>

  </l:VerticalLayout>

  </semantic:content>

  <semantic:saveAction>

  <semantic:SaveAction id="save" press="onSave"/>

  </semantic:saveAction>

  <semantic:cancelAction>

  <semantic:CancelAction id="cancel" press="onCancel"></semantic:CancelAction>

  </semantic:cancelAction>

  </semantic:DetailPage>

</mvc:View>

The version of SAPUI5 is 1.32.10

Regards,

Pavel

former_member791687
Discoverer
0 Kudos

Hi Pavel,

Were you able to solve it?

Hi Tal,

As far as I remember it was done with customs css

BR,

Pavel