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

Notifications

Announcements

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:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 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,228 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard