Hi
My data source is from SharePoint List and I have two datacards (DataCardValue59 and DataCardValue60) both getting their data from SharePoint List. Both are dropdown lists.
I will select data from DataCardValue59 dropdown and if "Death", DataCardValue60 will be enabled and I will select data from DataCardValue60 dropdown.
Here is what I've done:
- DataCardValue59:
OnChange: Reset(DataCardValue60)
- DataCardValue60:
DisplayMode: If(DataCardValue59.Selected.Value = "Death", DisplayMode.Edit, DisplayMode.Disabled)
The problem I have is, after selecting both DataCardValue59 and DataCardValue60, if I go back to DataCardValue59 to select other options which is not "Death", DataCardValue60 does not clear to empty/blank/null/"".
The above works only when Isee this the first time. ie. Data where DataCardValue60 sourced from SharePoint is empty. But once user has saved into SharePoint, its "default value" that Reset() executes will be the last selected data.
How can I modify DataCardValue59's OnChange so that it actually modifies DataCardValue60.Selected.Value to be blank/empty/null/"" so that it works for both scenarios (initial and after saved)?