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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / DropDown Defaults not ...
Power Apps
Unanswered

DropDown Defaults not Recognised

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

 

Please read:

 

I have a set of Drop Downs where users select predetermined options in an Edit Form. I also have a function where, if the user has filled out the form before, they can enter their email and click a button and the data from their first entry (the first row of a SharePoint list with their email) is inputted into the relevant Drop Downs (and Text Inputs and Toggles). This is done through context variables: when the button is pressed the data fields from the relevant row are captured with the LookUp function and stored in context variables using UpdateContext. These context variables are also the defaults for the Drop Downs (and Text Inputs and Toggles), and the data appears in the drop downs as soon as the button is pressed (and the context variables are no longer null). The data sources for the Dropdowns are choice columns in the SharePoint list.

 

My problem is that upon form submission, even though the correct data (e.g. "Manager", which is a valid option in the Title drop down) is shown in the drop downs, the app acts like there is no data there. Drop Downs with Required values present error messages as if there is nothing in the boxes. When all Drop Downs are set to Not Required (inappropriate and just for testing), the form submits but the data shown in the boxes is not entered into the SharePoint list - the fields are null.

 

Important: This method with context variables as defaults works perfectly for Text Inputs and Toggles, just not Drop Downs. No errors are thrown and the data appears in the SharePoint list.

Not sure if relevant: The DataCardValue values are set to Value rather than @odata.type as a workaround to a previous problem where Drop Down options weren't displayed properly.

 

Sorry for the long post, thanks to anyone who read it.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi KeyboardTsar,

     

    What’s the code you are using for the Dropdown control?

     

    Not sure if this thread could be a reference for you:
    https://community.powerapps.com/t5/PowerApps-Forum/Not-able-to-Update-Dropdown-value-to-a-sharepoint-List/m-p/31731


    Best regards,
    Mabel Mao

     

  • KeyboardTsar Profile Picture
    6 on at

    Hi 

     

     

    UpdateContext({positionVariable: LookUp('MySPList', DataCardValue54.Text = Employee_x0020_Email, Employee_x002f_Position)}); Reset(DataCardValue33);

     

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard