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!
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)
Yes - many thanks. I have abandoned trying them for now!!
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:
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:
3. I'm then able to set the DefaultSelectedItems property to reference the relevant column in the list:
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
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2