qlik-demo-team/qdt-components

QDTSelections shows hidden fields

frankpacker opened this issue · 6 comments

Implementing QdtSelections in Angular 10 with the latest methodology configured as per below:

selections = {
component: QdtSelections,
properties: {
qSelectionObjectDef: {},
},
connection: 2,
style: {
width: "100%",
paddingTop: "0px",
},
};

Issue is that hidden fields for Qlik are rendered. Would expect that they would be excluded as per the ordinary selections bar in Qlik.
Is there a configuration option available to add to the above, or can this be updated?

@yianni-ververis do you have any insights on if this can be configured in the current version of components? Thanks

You can add a custom css class like

.MuiMenuItem-root.excluded {
  display: none;
}

The above solution will not solve this issue.
The selections bar component itself displays Qlik fields that have been tagged as hidden. I'm not referring values that have been excluded by selections, which will be hidden by the above class.

The issue here is that if a whole field has been tagged as hidden in the Qlik load script, it is still displayed by the QdtSelections component and there is no class applied to the button rendered that can allow it to be hidden with a method similar to the above.

Can you share an example? I need to debug

Can you share an example? I need to debug

Hi Yianni,
Is there any update on this issue?

Cheers!