cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GK_BPL
Advocate I
Advocate I

bug/issue when saving form

Hello everyone,

 

 

I've posted about this issue already, but I am reposting because it is in all the app I've created and I can't understand why is this happening.

 

The bug is, when saving a form, before returning to BrowseSccreen it will flash for a second in the form the details of somebody else in the gallery list(usually the first item in the list)

 

FOR EXAMPLE:

I created a new list in SharePoint and added a column named color and then selected create an app

 

Then in the app I added a new Item

Title: anotherexample

Color: white

 

Then from the BrowseScreen I addedd another Item :

Title: example

Color: black

 

And when from EditScreen I saved this item before returning to the BrowseScreen it flashed for a second the details of the Item I created before this one (it only happens if there is at least one item already present in the gallerylist )

 

As you can see in the GIF

 

bugquestionimage.gif

 

 

 

This Bug/Issue is happening everywhere in all the apps when I create a new item or edit an existing one

 

Hope that you can undesrtand what is going on...

 

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Sorry about that! I keep using the wrong words, but I'm glad you knew what I meant! 🙂

 

Give this a try, in your submit button action:

 

SubmitForm(EditForm1);NewForm(EditForm1)

Let me know if it helps at all! Good luck!

View solution in original post

13 REPLIES 13
v-monli-msft
Community Support
Community Support

Hi @GK_BPL,

 

I have reproduced this situation, but it will always work normally after the quick flash, seems to me that it is not a bug but more like performance issue. It seems that the gallery is refreshing the data source after a new record is added, and that's why you saw a flash of the old view.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello

 

 

Thank you for the answer, what could I do that can let galley refresh but without showing the old view??

 


thank you

Could you navigate back to the browse screen at an earlier point? What is the formula in your form's on submit action?

Hello @eag768

 

The formula on submit action is:

 

OnSelect :

SubmitForm(EditForm1)

Once I click on the submit action button it will browse back to the browse screen but for a second it will show the details of a previous form before actually going to the browse screen

 

Ok, thanks! So what about when you select the form itself, go into the advanced tab, and look in the OnSubmit property? Is there anything in there?

Hi

 

Can't find the OnSubmit property.....

questionimg.png

Oops! Sorry -- I meant OnSuccess. What does that say?

OnSuccess Is :

Back()

Okay, and what is the Default property in your form?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,284)