Hi, I am new to powerapps and am trying to learn how to use the patch function.
I have a SP list with a single line of text field type that I am trying to save the label to. The label is filled automatically based on the selected value in a dropdown list using the following:
If(TeamDD.Selected.Result = "Tres",
"Name 1")
I have tried to patch this by using:
Patch(tresresources,
Defaults(tresresources),
{Director: DirectorDD.Text,})
but I am getting an error 'does not match the expected type 'record', found type 'text'
Any help is much appreciated!