I got the edit Form with Datacard as the edit selection type. I just want to check the value that the user changes and the default value by :
If (ConsentCollection.Selected.Value = 'Consentcollection_DataCard'.Default,
'Consentcollection_DataCard'.Default,
ConsentCollection.Selected.Value)
But I got the error cannot compare Text and Record. Please help me fix that error, I am just a beginner in building Power Apps. Thank everyone.