Hi there,I have a scenario where there is a dropdown, whose value is getting saved in a local!var.
Now, upon selection a specific option from the single select dropdown, depending upon the value, there is another child interface which is consuming the selected local value in its ri!var throuhg which the charts are being generated.Now, If we select the value, the chart is generated rendering from the child interface.If we deselect the selected value, the chart is not getting back to the original state.I.e, it is not being selectec on deselection of a value from the dropwdown.
My goal is upon the deselection of the value, the chart should be back to its normal state, means the refresh case should be working.Any thoughts upon this?
Discussion posts and replies are publicly visible
saifalikhan13
As everyone said, I don't have complete context about your chart rule like how you query data.
But clearly it is because of refresh issue or null value passed. I would suggest to check one small thing.
If your query has input of multiple type and I see in the dropdown you select single value. So inside the chart rule if you have query rule called add null check for the parameter. Please refer image for example:
You are correct, The nulls were creating the issue and there was a type mismatch between both the objects which was creating a refresh issue