Skip to main content
Microsoft Idea

Power BI

Needs Votes

Enable setting the background of search box in slicer

Vote (20) Share
Aiolos Zhao's profile image

Aiolos Zhao on 11 Sep 2019 14:03:39

When the theme is black, the user can not use the search function in slicer, because the text user input and background are both black.
Please enable the setting for the background of search box in slicer.
Thanks.

Comments (3)
Aiolos Zhao's profile image Profile Picture

BI Ninja on 06 Jul 2020 00:13:54

RE: Enable setting the background of search box in slicer

Try xviz Hierarchy filter for setting the background color for search box - ttps://xviz.com/visuals/hierarchical-filter/

Aiolos Zhao's profile image Profile Picture

Aaron Steers on 05 Jul 2020 23:59:31

RE: Enable setting the background of search box in slicer

I have not found a solution to this yet but I did find a way to override the foreground color.

The text color and the color of the search icon in the search box can be overriden using 'textClasses.header.color'.

Example:

```
"name": "sample theme snippet",
"textClasses": {
"header": {
"fontSize": 12,
"fontFace": "Segoe UI",
"color": "#c2d8fe"
}
```

Aiolos Zhao's profile image Profile Picture

Aaron Steers on 05 Jul 2020 23:59:30

RE: Enable setting the background of search box in slicer

Agreed! I have seen the same - but showing white-on-white with no discernible way to change either the text color or the background color.