Skip to main content

Notifications

Community site session details

Community site session details

Session Id : MVzhG5HZg3mKuDDhURDNWT
Power Apps - Building Power Apps
Answered

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

Like (0) ShareShare
ReportReport
Posted on 6 Mar 2023 21:43:47 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
    28 on 06 Mar 2023 at 23:53:35
    Re: Edit form resets (clears) the items that were previously selected

    Thank you so much! The second one worked!

  • Verified answer
    WarrenBelz Profile Picture
    146,508 Most Valuable Professional on 06 Mar 2023 at 22:47:34
    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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,440 Most Valuable Professional

Leaderboard
Loading started