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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Select a pre defined C...
Power Apps
Unanswered

Select a pre defined Choice option to a disabled dropdown

(0) ShareShare
ReportReport
Posted on by 10

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!

 

A002.png

Categories:
I have the same question (0)
  • scalca Profile Picture
    on at

    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 

  • rho_s Profile Picture
    10 on at

    @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?

  • scalca Profile Picture
    on at

    sorry DefaultSelectedItems works with modern dropdown control

    in your case there is Default property which you could use

  • rho_s Profile Picture
    10 on at

    @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.

    A003.png

  • scalca Profile Picture
    on at

    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.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard