@nunuNMS Try this on Default property of gallery
If(IsBlank(gblvar_SelectedRecord), First(Self.AllItems), gblvar_SelectedRecord)
And then have this on OnSelect of gallery.
Set(gblvar_SelectedRecord, ThisItem)
Make sure that the OnSelect of all child control of this gallery should be Select(Parent)
Onvisible of screen where you have these control have below code:
Set(gblvar_SelectedRecord, Blank())
-----------------------------------------------------------------------------------------------------------------------------
I hope this helps.
Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍
Thanks,
ANB