Skip to Content

sap.ui.comp.filterbar.FilterBar hidden label bug

Hi experts,

I have a UI with FilterBar, where the filterbarItems are static, but the filterGroupItems are bound to a model. My page used to work fine on library version 1.28.**, but I decided to switch to 1.44.** and there is a bug when displaying the filterItem labels. Initially when the page is opened, the labels of the filterItems are not displayed. When I debug each item, I see in the mProperties, that there is a label set. Using the inspect element of the debugger, there is no div for the label at all.

By pressing on "Filters" button, the labels are shown in the background, as the filter dialog is poped over.

Also if I remove the filterGroupItems, the labels are visible again, but I am not able to display both at the same time, just like in the previous lib. version. I tried also going with 1.38, 1.48, 1.50 but the issue is still there.

Regards,

Georgi

filterbug.png (1.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 19 at 09:21 AM

    I think I found a workaround on the bug issue.

    If you are experiencing the same problem, try to bind the filtergroupitems from the javascript through bindAggregation method.

    Regards,

    Georgi

    Add comment
    10|10000 characters needed characters exceeded