Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Cannot filter select options with value from previous select control when using Raw JSON Data types #392

Open
ajanickiv opened this issue Feb 21, 2018 · 0 comments

Comments

@ajanickiv
Copy link

I have two select Boxes. Both use Raw JSON data. When the user selects a value in Select Box 1, I want to filter the options of Select Box 2.

Here is example data:
Select box 1:
[
{
"region": "A"
},
{
"region": "B"
}
]
Select box 2:
[
{
"region": "A",
"name": "NAME_ONE"
},
{
"region": "A",
"name": "NAME_TWO"
{
"region": "B",
"name": "NAME_THREE"
}
]

  • User chooses "A" in select box 1, select box 2 should display "NAME_ONE" and "NAME_TWO"
  • User chooses "B" in select box 1, select box 2 should display "NAME_THREE only

I see a Filter option for URL or Resource data, but that option is not available for the Raw JSON Data Source Type. How do I filter the data?

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

No branches or pull requests

1 participant