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 value is not ...
Power Apps
Answered

Dropdown value is not getting submitted in Sharepoint list

(0) ShareShare
ReportReport
Posted on by 301

I have a single line text column in SP list , where I want to update/submit value using dropdown choice value,so I added a combox control inside my datacard ,
OnStart Property of App : 

ClearCollect(ColProjectItem,Filter('Project Info','Project Number Formatted'<>Blank()))
I have item Property of the combox as ColProjectItem
and defaultselected property as 
If(!IsBlank(varProjectName),{Value: varProjectName},{Value:Parent.Default})
and Onchange Property as 
Set(varProjectName,Self.Selected.ProjectName)

The datacard Update property is the combox.selected.ProjectName

Now when I select a choice value from the dropdown , combox.selected.ProjectName is blank.
Donn't understand why , please look into this.
Categories:
  • Verified answer
    DavidZoon Profile Picture
    738 Most Valuable Professional on at

    Hello,

     

    I think the problem comes from the structure of the 'ColProjectItem' collection, apparently it is a collection of items from another sharepoint list and which therefore must have columns ID, Title etc... but, if I don't I'm mistaken, it does not have a Value column, but it is on this column that the operation of the DefaultSelected of your combox is based.

     

    I suggest that you first collect your data from the 'ProjetcName' column in a collection of a single column named 'Value'

    OnStart Property of App:

    ClearCollect(ColProjectItem,ForAll(Filter('Project Info','Project Number Formatted'<>Blank()) As ThisProject, {Value: ThisProject.ProjectName}
    )

     

    Then in the default selectedItems of the ComboBox:

    [{Value: Parent.Default}]

    In the Datacard update:

    Coalesce(ComboBox1.Selected.Value, ThisItem.'your column name')



    Pro-tip : You can easiliy configure your datacard for single text line with a combobox by using the predefined card : "Allowed Values" 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard