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 : /igAsRuz5O6AgWQRG9wZsv
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:
I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete