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 / ComboBox and input of ...
Power Apps
Answered

ComboBox and input of individual values

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi @,

I have a ComboBox in my PowerApps where it is possible to select values from a SharePoint list.

But I also want to be able to enter a new, individual value.
This works also so far, only with the update I have now problems.

The individual value is not recognized and therefore nothing is written into the SharePoint list.
I have stored the following values in the ComboBox:

Default = null
DefaultSelectedItems = null
DisplayFields = ["Result"]
Items = Sort(Distinct(mySPList; Title); Result; Ascending)
SearchFields = ["Result"]
Update = 
If(
 IsBlank(ComboBox1.SearchText); 
 ComboBox1.Selected.Result;
 If(
 IsBlank(ComboBox1.Selected.Result); 
 ComboBox1.SearchText;
 ComboBox1.Selected.Result
 )
)

ComboBox1.SearchText, however, unfortunately returns me nothing when I enter an individual text.
Can someone tell me what I am doing wrong here ?
Thanks a lot

 

Regards

Herb

 

Categories:
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Your Data card update statement should be only this (Not sure why we need 2 if condition)

    If(
     !IsBlank(ComboBox1.Selected.Result);
     ComboBox1.Selected.Result;
     ComboBox1.SearchText 
     )

     

     

    StalinPonnusamy_0-1643726903703.png

     

    StalinPonnusamy_1-1643726915415.png


    Thanks,
    Stalin - Learn To Illuminate

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @StalinPonnusamy,

    Thanks for your quick feedback.
    It worked for a while with my previous IF loop when updating.
    Why it suddenly stopped working is a mystery to me.
    I have now used your loop and it works.
    Thanks a lot for your help.

     

    Regards

    Herb

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard