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 / Combo box dont allow u...
Power Apps
Answered

Combo box dont allow user to input text

(0) ShareShare
ReportReport
Posted on by 494

Hi Guys,
I have this concern, how to set the combo box so that the user will not able to input text? they will just select the items on it.

Categories:
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi,

     

    In the settings for a combobox, you will see the following setting:

    image.png

     

    Turning this off forces the user to choose - they will not be allowed to type in.

     

    Cheers,

    ManCat

  • Big_S Profile Picture
    494 on at

    Hi @iAm_ManCat ,

    It works, however searching is a big part for the user, I just wanted if they will type in and not in the combo box list of items it won't save the records.

     

  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Ok, well we can do that too Cat Happy

     

    So if we allow searching, but we don't want the item to submit unless there is a selected value, we set the field to required, or we can change the Submit action.

     

    For your Submit button, have it check:

    If( IsBlank(Combobox1.selectedItems.Property),
    //If blank then let them know they need to choose
    Notify("Please choose an item from the dropdown", notificationtype.warning),
    //If not blank, ie an item is chosen, then submit the form
    Submit(FormName)
    )

    NB - Property will need to be the value or thing within that selectedItem like .name .Title .displayName etc - use intellisense to figure out which will work for you.

     

    you can check this with a label during testing:

    image.png

    image.png

     

    Could you give something like that atry and let me know if you run into any issues or if it solved your problem?

     

    Cheers,

    ManCat

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Big_S ,

    Could you please share a bit more about your scenario?

    Do you want to not save your form data if the user type a text which is not available within the ComboBox?

     

    I have made a test on my side, please take a try with the following workaround:

    Set the OnSelect property of the "Submit" button to following:

    If(
     IsEmpty(ComboBox1.SelectedItems),
     Notify("Please choose a proper item within the ComboBox, not type a unavailable option!", NotificationType.Error),
     SubmitForm(EditForm1)
    )

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

  • Big_S Profile Picture
    494 on at

    IT works thank you so muchhh! 🙂

  • Big_S Profile Picture
    494 on at

    Thank you so muchhhh! ❤️

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard