We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Does select single support using a standard array? How to use a select single in a bind for each?

Received Response
edited Mar 10, 2021 5:56PM in Visual Builder 3 comments


It appears the select single component only works with either an SDP or ADP.

I have a select single wrapped in a bind for each.  Let's say the bind for each has an array with the values [ "make", "model", colors" ].  I want to display 3 select single components, one loaded with car brands (i.e. audi, volvo, etc), one loaded with models and the other loaded with colors.

The issue is I don't know the data ahead of time so I am loading a standard array with all the data including make, model and colors.  What I wanted to do was have the bind for each filter the array based on the for each value and load each single select with the appropriate filtered data.  Below is what I was assigning to the Data property on the single select.  The idea is $current.data would be 1 of the 3 values ("make", "model", colors") and it would filter my array for each single select. 

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!