Search code examples
sapui5

What is the double point on the filterbar?


I have a filterbar that looks as following:

<fb:FilterBar>
  <fb:filterGroupItems>
    <fb:FilterGroupItem
      groupName="sap.ui.comp.filterbar.FilterBar.INTERNAL_GROUP"
      name="Basic"
      visibleInFilterBar="true"
    >
      <fb:control>
        <DatePicker/>
      </fb:control>
    </fb:FilterGroupItem>
  </fb:filterGroupItems>
</fb:FilterBar>  

Output:

enter image description here

As you can see, there is a double point. How can I remove it?


Solution

  • Haven't used FilterGroupItem before, but a colon usually indicates that there must be Label similar to how sap.ui.layout.form.(Simple)Form behaves.

    According to the API reference, the Item can contain groupTitle and label. Try to assign values to those properties.