Hi, I'm using Powerapps with Dataverse for Teams.
I simply want to enable/disable a 'delete' button depending on whether a form is in 'New' or 'Edit' mode, but it seems the form always stays in New mode.
The OnSelect property of my edit icon is set to this;
EditForm(FormVoaItm)
I set the DisplayMode property of the delete button to this ;
If(FormVoaItm.Mode.New, DisplayMode.Disabled, DisplayMode.Edit)
After clicking the edit icon, I can see my form is still in New mode and the 'Delete' button is still disabled.
It looks like a bug to me, but any hints would be appreciated.