Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Edit form resets (clears) the items that were previously selected

(0) ShareShare
ReportReport
Posted on by 28

My Edit form resets (clears) the items that were previously selected in the Devices field. I need these items to remain when the form is placed in edit mode.

In SharePoint, the Devices column is a text field and I defined the values as a ComboBox in PowerApps.

In my Devices_DataCard1, I have a ComboBox (DevicesComboBox5) with a Data source from another list (Devices) filtering one of the columns of that list using a Dropdown selection (DropdownDevicesActiveChoice1).

This is the formula for the ComboBox selections:

 

Filter(Devices, HideDevice = DropdownDevicesActiveChoice1.Selected.Result)

 

The choices are selected from the ComboBox and are displayed in a Lable (LblDevices5) that displays on my primary SharePoint list.

Lable formula:

Concat(DevicesComboBox5.SelectedItems,Devices,"; ")

When I edit this primary SharePoint list via the PowerApps form, the Device field resets. The other fields do not reset.

 

I'm not sure what I need to do. Would I need to set the Default and DefaultSelectedItems of the ComboBox? What would that formula look like?

Categories:
  • Deb30001 Profile Picture
    Deb30001 28 on at
    Re: Edit form resets (clears) the items that were previously selected

    Thank you so much! The second one worked!

  • Verified answer
    WarrenBelz Profile Picture
    WarrenBelz 145,567 on at
    Re: Edit form resets (clears) the items that were previously selected

    Hi @Deb30001 ,

    This blog of mine may assist your here.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard