web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Clearing dropdown boxe...
Power Apps
Unanswered

Clearing dropdown boxes from datacard from SharePoint List based on user input on another data card

(0) ShareShare
ReportReport
Posted on by
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)?
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard