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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combobox in form goes ...
Power Apps
Answered

Combobox in form goes blank after submitting form

(0) ShareShare
ReportReport
Posted on by 163

Hi

 

I have a form with multiple combo boxes in that all work fine, however there is one specific combobox called cmb_ikc_assignedP1 that keeps becoming blank when I change another item in the form and then press the submitform button.

 

I have tried multiple workarounds but with no luck, below is my current formulas for this combo.

DefaultSelectedItems - [Parent.Default]

 

Items - Filter(LOGSTABLE,
Parent_ID = var_Ref && Change_Type = "Approved" && (User_Role = "Audit Team" || User_Role = "Audit Director" || User_Role = "Audit Owner" || User_Role = "Audit Lead" || User_Role = "Other")).User_Email

 

Update of the card - cmb_ikc_assignedP1.Selected.User_Email

 

 

The reason that is the items for the combo is because it populates based on users in that table that are listed under this Reference (Parent_ID = var_Ref)

 

Any help would be appreciated.

 

Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Super User 2025 Season 2 on at

    Hi @lalford09 

    Is the combo box empty after you have submitted the form?
    If so, what is the default mode of the form after you have submitted it (New, Edit, View)?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    HI @lalford09,

    I guess the LOGSTABLE is noe the data source you populate the form Item property with, right? It is a new list that differs from the one of the Form.

     

    Generally, it works in a new form, but not for an edit form because the way you set the default value is wrong.

    You need to retrieve the value from the source you set for the Items property.

     

    Set the DefaultSelectedItems property as:

    LookUp(Filter(LOGSTABLE,Parent_ID = var_Ref && Change_Type = "Approved" && (User_Role = "Audit Team" || User_Role = "Audit Director" || User_Role = "Audit Owner" || User_Role = "Audit Lead" || User_Role = "Other")).User_Email,User_Email=ThisItem.assignedP1Column)
  • lalford09 Profile Picture
    163 on at

    @v-qiaqi-msft works perfectly, thank you

  • lalford09 Profile Picture
    163 on at

    Hi @v-qiaqi-msft 

     

    I was hoping you could help as I have just found a similar issue in the same form, but instead of a blank value returning, it is keeping the original value that was in the combo box instead of the new value:

     

    Update of the status combo card: cmb_ikc1_statusp1.Selected.Value

     

    Items: ["Pending Review", "Returned to Preparer", "Pending Approval"]

     

    DefaultSelectedItems: [Parent.Default]

     

    Thanks in advance.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard