Skip to Content
0

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

Jan 09 at 11:30 AM

31

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Georgi Nushev Jan 19 at 09:21 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded