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 / Default value in editf...
Power Apps
Unanswered

Default value in editform not updating

(0) ShareShare
ReportReport
Posted on by 80

Hi all,

 

I have two galleries of records where in each you have identical edit forms. The first allows some initial changes to a record, then if the records meet some criteria it is then visible in the second gallery to make additional edits.

 

The first edit form is working as intended, it is updating the underlying SP list, and if you edit the record within that gallery, you can see your fields update.

 

In the second edit form, if I make edits in the fields and hit submit, I can see the SP list gets updated, but when I open that record in the edit form, the changes in the fields aren't displayed. The previous value for the field is displayed.

 

I'm a bit confused as both edit forms are set up the same, with the same properties on each field.

 

Does the default property have to be set differently on the data cards and/or fields?

 

Cheers

K

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Kambro ,

     

    Indeed you may have to make some adjustments to the Default properties of the data cards. Can you please share what you have now?

  • Kambro Profile Picture
    80 on at

    Hi @BCBuizer ,

     

    I've got a bunch of fields but a few examples are as below:

     

    Same datacard/fields in both edit forms but named differently. If I update this value in the first edit form, submit and then edit again in the same gallery, the value displayed in the edit form updates. In the second edit form the field displayed does not update after submitting and entering the edit form:

     

    Datacard: DETAILS

    Card Default: ThisItem.DETAILS

    Field default: ThisItem.DETAILS

    Type: text field

     

    Datacard: CLASS

    CArd default: ThisItem.CLASS

    Field default: {EXPDESC:ThisItem.CLASS}

    Type: Combobox

     

    When one of the fields is updated in the second edit form and is pushed into the first gallery, the field reflects the update.

     

    Cheers

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Kambro ,

     

    This seems ok, perhaps try changing the CLASS data card Default to just Parent.Default 

     

    Can you also share the Item property of the form that does not show the updates?

  • Kambro Profile Picture
    80 on at

    Hi @BCBuizer ,

     

    If I change the default property on the CLASS card it throws an error that the control expects a table value but Parent.Default produces a text value. Its a combo box so I assume that's why it doesn't work?

     

    The item property on the form that isn't showing updates is:

    TxnsToClassify_1.Selected

     

    The gallery it is connected to is TxnsToClassify.

     

     

  • Kambro Profile Picture
    80 on at

    I've found the issue - in the gallery the OnSelect property had a ResetForm line in there. When I remove that, the updates in the edit form show.

     

    Could removing this property cause some other problems? 

    Edited to add: When I make updates in the second edit form and submit, the filtering in the gallery now doesn't update as it was previously. If the record was updated to no longer meet the filter criteria, it stays in the gallery until I navigate to the duplicate gallery and back into the problematic gallery.

     

    I inherited this app from someone else, so didn't realise what this property was doing. Interestingly, this property also exists in the first edit form that does show the field updates, so not sure why the behaviour is different between the two forms?

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Kambro ,

     

    Sometimes these things just seem to happen, but glad you got it sorted.

     

    For the issue with the Gallery, I suggest to try and reset it in the EditForm's OnSuccess property.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard