How can i prefield values in a multiselect box in FoundrySlate

Viewed 92

I am generating values in runtime so after every reload the values in the multiselect box is getting blanked. I am taking the values from a function. so I want to prefield that multiselect value. How can we do that?

2 Answers

You should be able to modify the values and displayValues (note: they must both be set) to the values that you'd like. For example, if you have a query, q_dropdown_fields, you should be able to set values & displayValues to q_dropdown_fields.values and q_dropdown_fields.displayValues, respectively; obviously the column names will depend on your query

Related