I have a simple multi-select in a form which is displaying the correct select option names when I select multiple options… BUT… when I try to set the “Initial Value” for the multi-select, the Mapping to the name does not work and instead it just displays a blank selection as you can see in the highlighted multi-select in the image…
so, on the Initial Value setting I have the same collection as for the select and I am applying a filter which is 1 and 3 (for the id’s) which works but then, as I said above, the select just shows a blank name instead of applying the Mapping.name to show the name attribute in the objects?
Thanks Agustin. However i still can’t get this to work…
In your Formula field “[1,2]”, how are they related to the bound Options on the select?
This WW implementation of the multi-select element just seems a bit ‘wrong’ to be honest. You seem to be saying that the Initial Value is not related to the Options that make up the select in first place…
I tried to use map function in the initial Value but as you can see in the highlighted prodSelect select element… nothing is displayed
Is there not a “selectedItems” property for the select to which I can attach the objects from the Options property that I want to show as selected?
I got this to work. My use case was more complex because I am using a “link entity” to implement many to many relationship for the multiselect… (I’m sure there must be an easier way for WeWeb to make the multiselect more “config” instead of using these formulas though…