Notifications
Announcements
Hello,
I have a conditional dropdown in the app that gets disabled if the condition is met. I need the disabled dropdown to select a Choice "ConditionMet" (from the choice list predefined in SharePoint List) & display it into the dropdown so that same flows to the SharePoint list while submission.
Is this possible? If yes, need your guidance on how can I do it.
Thanks!
dropdown control has a DefaultSelectedItems property where you can add the item you want to be selected in case your condition is true
use the same condition you have used to disable the dropdown with different true/false actions
@scalca the DefaultSelectedItems property is not available as I have not used a Combobox (cannot use one due to Combobox limitation in my case). Is there a way this can be achieved using a dropdown?
sorry DefaultSelectedItems works with modern dropdown control
in your case there is Default property which you could use
@scalca Thanks!
Apparently, the Default for the dropdown already has below code that fetches the value from SharePoint list.
ThisItem.ChargeMismatch.Value
I tried doing an If statement as below, but it throws an error.
If(ThisItem.Plan = ThisItem.ChargedAmount,{Value: "Charges Match"},ThisItem.ChargeMismatch.Value)
"Charges Match" is a Choice column value in SharePoint list for the column. The error that I get is as below.
Try to pass the text value only as mentioned in the error message. It expects a text value
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268