Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slicer orientation / style / mode enum list hasn't been updated to support the change to slicer orientation settings in PBI #63

Open
CHohnbaum opened this issue May 12, 2023 · 1 comment

Comments

@CHohnbaum
Copy link

Slicer 'Styles' were migrated from being in the visual header drop-down menu to now being in the 'Style' general formatting menu.

The JSON schema still only supports orientation enum options of 0 and 1 for vertical list vs horizontal tile orientations here and does not support the additional 'Style' options that now include things like making the slicer a drop-down list by default or a 'between', 'relative date', etc.

The {*} > {*} > {mode} in the json schema appears to list all these new style options but when I set define this way, it doesn't appear to be applying in-app.

 "mode": {
       "type": "string",
       "enum": [
                  "VerticalList",
                  "HorizontalList",
                  "Between",
                  "Before",
                  "After",
                  "Basic",
                  "Dropdown",
                  "Relative",
                  "Single",
                  "RelativeTime"
       ],
       "title": "Style" 

The {*} > {general} > {orientation} enums of 0 and 1 do still work to switch between VerticalList and HorizontalList, but don't accept any additional enum values that might represent Dropdown mode as far as I can tell.

Is there another way to set the slicer orientation / mode / style via json?

@Ralle8370
Copy link

I support this ticket :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants