web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / cmbx in a form not sav...
Power Apps
Answered

cmbx in a form not saving value when I edit a form

(1) ShareShare
ReportReport
Posted on by 224 Season of Giving Solutions 2025
My cmbx "Combobox4" value isn't saving.
 
 
Tree view
 
DefaultSelectedItems =  ThisItem.OutputPort
ItemDisplayText = ThisItem.Value
Items = Choices('Originating Device Checklist'.OutputPort)
 
SPO list col name OutputPort
Col Type : Choice
--------------------------------------------------------
 
 
Update =  DataCardValue18.Selected
-------------------------------------------------------
EditIconButton values
OnSelect =  UpdateContext({ editMode: true, selectedRecord: RecordsGallery1_3.Selected })
Tree View
 
Any recommendations is appreciated.
 
Thank you!
Sharon
 
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    Valantis Profile Picture
    6,735 on at
    Hi @S S,
     
    The issue is in the Update property. For a SharePoint Choice column, the combobox needs to pass a choice record with a Value property, not just the Selected item directly.

    Change the DataCard Update property to:
    Combobox4.Selected
    Instead of DataCardValue18.Selected the Update property should reference the combobox directly, not another control.

    Also check the DefaultSelectedItems. For a Choice column it should be:
    {Value: ThisItem.OutputPort.Value}

    Or:

    ThisItem.OutputPort
    if OutputPort is a single-select choice column.

    If you're in edit mode using a variable (editMode) rather than a standard form, make sure your Patch or SubmitForm is passing the selected value correctly. If using
     
    Patch directly, the syntax for a choice column is:
    {OutputPort: {Value: Combobox4.Selected.Value}}
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Suggested answer
    11manish Profile Picture
    3,333 on at
    try with below :
     
    • DefaultSelectedItems should be Parent.Default instead of ThisItem.OutputPort.
  • S S Profile Picture
    224 Season of Giving Solutions 2025 on at
     
    It worked!   Thank you!
    I changed Update to
     
     
     
    I left Defaultselecteditems as
     
    because it didn't like it when I added .value
     
    Result in play
     
    THANK YOU!!
     
    Sharon
     
     
     
  • S S Profile Picture
    224 Season of Giving Solutions 2025 on at
     
    I changed it per your recommendation
     
    It saved :-)
     
    Thank you!!!
     
    -Sharon

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard