Hi @sakleboe,
Where do you put your Set formula? Within the OnEdit property of the SharePointIntegration control within the app?
Based on the needs that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.
On your side, please take a try with the following workaround:
Add the following formula within the OnEdit property of the SharePointIntegration control:
Set(varTest, Blank());
Set(varTest, "Test")
Set the Default property of the Text Input box to following:
varTest
In addition, I think it is not necessary to initialize a global variable to store the value you want to put within your Text Input box. As an alternative solution, please consider take a try with the following workaround:
Set the Default property of the Text Input box to following:
If(SharePointForm1.Mode = FormMode.Edit, "Test")
If the issue still exists, please consider take a try to remove the custom form from your SP list, then re-create a new one for it, take a try with above solution I provided, check if the issue is solved.
Best regards,