I have a SharePoint Choice field which allow multiple selection named "Peripheral" , and i want to set the values in this field as options inside the listBox, i tried the following :-
but i got this error "Ëxpected Text value. ListBox1.Default".. any advice?
You cannot set the default items of a ListBox in PowerApps.
I hope this is helpful for you.
Hi @johnjohn123 ,
If you would like to set multiple default selected items for a single Control within a Canvas App, the Combo box is the only choice.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Actually, it is a little easier to utilize a Gallery to mimic the Listbox control as it will look a lot like it and you can "simulate" the selected items pretty easily. Combobox doesn't give that same feel.
Below is just an example of a component we have made to simulate the listbox and provide default selected items. It's essentially just a Gallery with a Checkbox control in it (checkboxsize is 0).
@johnjohn123 Hopefully this gives you some ideas as well of how to work around your issue.
User | Count |
---|---|
258 | |
108 | |
93 | |
57 | |
41 |