cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Iamglt
Helper V
Helper V

Combo Box (with internal values listed in the Items Property) clears after patching

Hi All,

I have converted some drop down boxes to combo boxes that connect to a SharePoint List using text fields only.

For combo boxes where there are only a small number of values, I have hard coded them into the Items field as follows:

 

Iamglt_0-1610237961316.png

 

Which results in my Combo Box displaying this:

 

Iamglt_1-1610238038418.png

 

All good.  When I patch the record back to SharePoint (using the following code), it updates successfully:

 

 

 

{EmploymentType: ComboBox1.Selected.Value}

 

 

 

However, after the patch, the field value disappears (even though it is in the SharePoint record).  Also, if I navigate to the next screen, and go to the previous screen, the combo box values that was previously selected is blank.

 

I have updated the DefaultSelectedItems to {Result:ThisItem.EmploymentType} but this situation described above still occurs.  Has this behavior got anything to do with the combo box item values being hardcoded into the Item property?

 

Cheers,

Geoff.

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Thorpe
Super User
Super User

Try using Value instead or Result

{Value:ThisItem.EmploymentType}

 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Jeff_Thorpe
Super User
Super User

Try using Value instead or Result

{Value:ThisItem.EmploymentType}

 



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Thankyou - worked like a charm...

 

Cheers,

Geoff.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,146)