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 / How to manually add a ...
Power Apps
Unanswered

How to manually add a value to datasource with combobox in powerapp

(0) ShareShare
ReportReport
Posted on by 2

The items in my ComboBox are being fetched from my data source. But how do I allow the user to manually enter an option in my ComboBox? This option should then be saved in my data source.Skærmbillede 2024-03-25 140110.png

Categories:
I have the same question (0)
  • bengo83 Profile Picture
    159 on at

    Hi Battal

     

    What is your data source?

  • Battals Profile Picture
    2 on at

    Hi @bengo83, my datasource is a sharepoint list.

     

    Battals_0-1711450931065.png

     

    See attached 😊

  • Battal Profile Picture
    2 on at

    Hi @bengo83, my datasource is a sharepoint list

     

    Battal_0-1711453516135.png

     

    see attached 😊

     

  • bengo83 Profile Picture
    159 on at

    Hi @Battal / @Battals 

    Thanks for the response... I have idea:

     

    1. Place a button or icon next the combobox
    2. Add the following code in the onSelect property of the button:

     

    Patch(yourSharepointList,Defaults(yourSharepointList),{NameColumn: NameCombobox.SearchText})​​

     


    Done
    🙂 Now the search text will be added to your dropdowlist when the user clicks the button. 

    Please note that the new "Label" remains in the drop-down list for all users. If you do not want this, you can create a new collection with onVisible from the current screen and set this collection as the data source for the combo box.

     

    I hope this work for you.

     

    King regards

    Beny

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard