Skip to main content
Community site session details

Community site session details

Session Id : TrWNVmQdM5wiw4YgZTE2Jp
Power Apps - Building Power Apps
Unanswered

MODERN CONTROL - DefaultSelectedItem, DROPDOWN

Like (0) ShareShare
ReportReport
Posted on 22 Dec 2023 09:27:34 by

Hi

I've started playing with the MODERN CONTROLS and unlike with the original DROPDOWN, I appear unable to set the DEFAULTSELECTEDITEMS property to "ThisItem.<VALUE>". Is there a way to do this. The control is inside a gallery linked back to a SP list. 

 

Many thanks!

Categories:
  • David-Md Profile Picture
    19 on 07 May 2024 at 15:23:51
    Re: MODERN CONTROL - DefaultSelectedItem, DROPDOWN

    Modern dropdown requires Record as DefaultSelectedItem so you can use Lookup to fetch the whole Record based on specific condition

    LookUp(databasewithrecords, ID = MyGallery.Selected.ID)



     

  • jed76 Profile Picture
    on 22 Dec 2023 at 14:23:40
    Re: MODERN CONTROL - DefaultSelectedItem, DROPDOWN

    Yes - many thanks. I have abandoned trying them for now!!

  • cdwhite Profile Picture
    1,067 Most Valuable Professional on 22 Dec 2023 at 13:46:21
    Re: MODERN CONTROL - DefaultSelectedItem, DROPDOWN

    Hi @jed76 ,

    I've managed to get this working on my end:

    1. I've a Choice column in my SharePoint list, with Option 1, Option 2 & Option 3 as the options. I've got a few rows in my list, each has an option assigned:

    cdwhite_0-1703252568232.png

    2. I've added the modern drop down control to a gallery and set the Items property to the config of the choice column in my list:

    cdwhite_1-1703252661346.png

    3. I'm then able to set the DefaultSelectedItems property to reference the relevant column in the list:

    cdwhite_2-1703252723785.png


    The modern control is still in preview so not recommended for production apps. I'm seeing the values in the gallery randomly appear & disappear so you're likely to be better off with the classic one for now.

    ------------------------------------------------------------------------------------------------------------------------------
    If I've answered your question, please mark your post as Solved. You can accept more than one post as a solution.

    If my response was a good one, please give it a Thumbs Up!

    Visit my blog: https://platformsofpower.net

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2