I have a PowerApp with an edit form linked to SharePoint. I hardcoded a default value in one of the data cards. I want to lock this default value so the user of the powerapp cannot change it. I tried setting visble = false but that gave an error to users when they sumbitted the form.
Just in case it matters the datacard is a choice field and I had to do a work around to get the default value. I used the two formulas below on the screen and datacard.
Screen:
OnStart = Set(var_default,"Template Update")
DataCard:
Default = {Value: var_default}