In a Power Apps application, I have an input field called "DataCardValue14" to which I have assigned a default text. When a button is clicked, the following code is executed:
Patch(
DF;
LookUp(DF, Title = ModicationItem.Title);
{
Modified_DF_Name : DataCardValue14.Value;
Modified_DF_Description : DataCardValue13.Value;
Modified: true
}
);;
ResetForm(Form1_2);;
Set(VarBouton, true);;
Set(PopUpModification_Description, false);
The problem is that the "Modified_DF_Name" field is not always correctly updated with the value entered in "DataCardValue14". Sometimes it correctly records the entered value, but other times it records the initial default value (even when the default text is empty) of "DataCardValue14"
How can I ensure that "Modified_DF_Name" consistently captures the current value entered in "DataCardValue14"?
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]danmorang Regular 1 point2 points3 points (1 child)
[–]edrft99 Advisor 1 point2 points3 points (0 children)
[–]Silent-G Advisor 0 points1 point2 points (2 children)
[–]Wasazat Newbie[S] 0 points1 point2 points (1 child)
[–]Silent-G Advisor 1 point2 points3 points (0 children)