I have created a custom form in PowerApps for a SharePoint list, and sometimes when a user saves the form after editing or doing a new entry, the form clears everything they entered without saving (it essentially resets to the most recent version or for a new item, it clears the form and doesn't create a new item). I am using the standard save/cancel buttons nothing custom. I have not been able to find a pattern to this. I am running a flow in the OnSuccess but the flow is not triggering when this happens. Is there something I can put into the OnFailure so that it doesn't lose everything that was entered? Or some other possible cause? It's causing a lot of re-work.
SharePointIntegration settings
OnCancel: ResetForm(formname)
OnEdit: EditForm(formname)
OnNew: NewForm(formname)
OnSave: SubmitForm(formname)
OnView: ViewForm(formname)
Form settings
OnSuccess: flowname.Run(formname.LastSubmit.ID); ResetForm(Self); RequestHide()
OnReset: false
OnFailure: false