cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
YamiteKudasai
Helper II
Helper II

[HELP] - Combo box Selected Item

I have a combo box which has values of ["item1", "item2", "item3"]. 

So to get the values I used a forall and the concat the values .

so the value is item1, item2 in 1 text. How to put his back as selecteditems in combo box again.

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @YamiteKudasai ,

You can use 

{Value:Split(YourFieldName,",")}

in the DefaultSelectedItems, but I have found while they will update the field OK, they do not display in the combo box.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

WarrenBelz
Super User
Super User

Hi @YamiteKudasai ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Young97w
Regular Visitor

Hi,@YamiteKudasai 

Just use Split() in combox's Items.It works fine.

And hi @WarrenBelz , there just one issue in your method, it generates a record of a table not a table with multiple records. If you use  ClearCollect(Mytest,{Value:Split("i1,i2",",")})  to generate a  set ,you'll see it.

 

 

@Young97w 

Interesting, although I never use this myself (I use a Choices column to store any multiple selections)

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,660)