@bankhbl
Could you move you OnChange code from your Datacard to the OnChange of the Dropdown? Not 100% sure of your entire app logic but this may work?
There seems to be some conflicting variables in your app. If this was my project, I'd add a number of labels each holding a different variable value then play the app and see how they all interact.
Also, you could tidy up some of your code if you like?
// Code refactoring
// OnChange
Set( valSave, DisplayMode.Edit);
UpdateContext(
{
valStart: false,
varListSelect: false,
varAN: false
}
)
// OnSelect
UpdateContext(
{
valStart: false,
varAN: true
}
)
// Default
If(
varAN && varListSelect,
varDropDownItem,
Parent.Default
)