Hi @Anonymous :
My method is to set a variable to control the display mode of the control.
For example:
Set(Disable,false); /*Disable is my custom variable*/
ForAll([1,2,3,4,5,6,7,8,9,10,11,12,13,2,4,3],Patch('List A',Defaults('List A'),{Title:Value}));
Set(Disable,true)
- Disable is my variable.
- ForAll([1,2,3,4,5,6,7,8,9,10,11,12,13,2,4,3],Patch('List A',Defaults('List A'),{Title:Value})); is the code to save the date.
Before the save process starts, I set the variable to false, and after the save process ends, the variable will change to true.
To demonstrate it, I created a button:
DisplayMode:
If(Disable,DisplayMode.Edit,Disabled)

Best Regards,
Bof