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 / Write in a combobox be...
Power Apps
Answered

Write in a combobox before options appears

(1) ShareShare
ReportReport
Posted on by 943 Season of Giving Solutions 2025
Hi!
 
I have an APP with a combobox but I want that users have to write before the choices/options of the combobox are shown.
Is there a way to hide the options and wait until users write in the combobox?
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Yes, it’s possible. You can hide the ComboBox options until the user starts typing by checking the SearchText property and only returning results when it isn’t blank.
     
    If(
        !IsBlank(Self.SearchText),
        Search(
            Choices([@'Test List'].'Product'),
            Self.SearchText,
            "Value"
        ),
        Blank()
    )
    
    //Test List - Replace with your sharepoint list name
    //Product - Replace with your column name
    This will load the choices depending on the user's input in the ComboBox.
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
  • Suggested answer
    DP_Prabh Profile Picture
    381 on at

    Yes. In Power Apps, you can make a ComboBox show options only after the user starts typing by using the SearchText property in the Items formula.

    Example

    Set the Items property of the ComboBox:

    If(
        IsBlank(Self.SearchText),
        [],
        Filter(YourDataSource, StartsWith(YourColumn, Self.SearchText))
    )
    

    How it works

    SearchText returns what the user types in the ComboBox.

    If it’s blank → return an empty table [], so no options appear.

    Once the user types → results are filtered and shown.

    Microsoft Documentation

    Microsoft explains the SearchText property and filtering behavior here:
    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-combo-box

    You can also combine it with StartsWith() for delegable search as recommended by Microsoft:
    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-startswith

     

    I hope this works for you!

  • Charlie Martharper Profile Picture
    943 Season of Giving Solutions 2025 on at
    Hi ! @Kalathiya 
     
    I have this code in the items control:
    With(
        {
            _allRecords: Filter(
                'Circuits_territorials_03_2026',   //Your SharePoint List - Please replace if it's wrong
                UP_Origen.Value = ComboBox_Origen1_1.Selected.Value //AGA Combobox name - Replace 'AGAComboBox' your combobox control name
            )
        },
    Sort(
        Distinct(
            Ungroup(
                _allRecords,
                Paraula_clau
            ),
            Value
        ),
        Value
    )
    )
     
    How can I add the code in there?
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    I'm assuming this is a dependent dropdown where the options are populated based on the selection of another field. 
     
    Please try below code: 
    With(
        {
            _allRecords: Filter(
                    'Circuits_territorials_03_2026',   //Your SharePoint List - Please replace if it's wrong
                    UP_Origen.Value = ComboBox_Origen1_1.Selected.Value //AGA Combobox name - Replace 'AGAComboBox' your combobox control name
                )
        },
        If(
            !IsBlank(Self.SearchText),
                Sort(
                    Search(
                        Distinct(
                            Ungroup(
                                _allRecords,
                                Paraula_clau
                            ),
                            Value
                        ),
                        Self.SearchText,
                        Value
                    ),
                    Value
                ), 
                Blank()
        )
    )
    
    Note:
    #1. The Allow Searching property must be enabled.
    #2. Sometimes the dropdown may not refresh even after pasting the correct code. If that happens, try adding a new ComboBox and test again.
     
     
    \If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
     
  • Charlie Martharper Profile Picture
    943 Season of Giving Solutions 2025 on at
    Hi!
     
    I tried that code but it doesnt show any options when writing any letter. Its searchable and I created another oine but still doesnt work.
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    Please double confirm the combobox field property.  If not set, please set property. 
     
     
    If you are not able to set from here, you can search below 2 property and write below code: 
    #1. DisplayField
    #2. SearchField
     
    Past below code: 
    ["Value"]
     
    Same thing please do for above 2 properties and try again. 
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
     

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard