Hello,
I’m building an active filter tag cloud from a dropdown:
To do this, I’m using a data store that contains objects (ids, names). I’d like to run a query based on the user ids so I need to pass the ids to the server connect action.
Another approach I considered is using two independent arrays so I need both the user ID and name. But that doesn’t seem as clean as storing the objects as objects in a data store.
The issue I’m running into is that I don’t know how to break apart the data store items to pass them to the server connect action.
When I pass in:
I get this:
Which is good because I’m partially there since it’s passing in the objects (provider_ids). But in my case, I want an array of the provider_ids for filtering purposes.
However, when I do this:
I get this:
So in referencing the provider_id from the data store, it no longer passes anything.
Does anybody know how I’d approach passing the provider_ids to the SC action?
Last updated: