Choosing Between Combo Box and Drop Down in Power Apps

Combo box and drop down controls look similar at a glance, but they solve different problems.

If you’re choosing from a short, single-select list, the drop down is simple and effective. If you need search, multi-select, or richer display, the combo box shines.

This article walks through practical differences, properties, and examples using a “Books” Dataverse table with Title, Author, Publisher, and Year.

Connecting to a Dataverse table

Map both control’s Items property to your data source. For example, set Items = Books. Then configure which fields are displayed:

  • Combo box fields: Choose display fields (e.g., Title or Author). Supports single or double layout.
  • Drop down value: Set the Value property to the field you want shown (e.g., Title).

Example: Map both controls to the Books table and display book titles:

ComboBox.Items = Books
ComboBox.Fields = ["Title"]  // single layout

Dropdown.Items = Books
Dropdown.Value = "Title"

Visual formatting options

Both controls let you format how items look and how the selected item appears.

  • Font size: Adjust to fit your UI (e.g., 15, 25, 70).
  • Font color and selection color: Customize text and selected item highlight.
  • Width: Expand to make long titles readable.

The combo box additionally supports a double layout, showing secondary text like the author alongside the title.

The drop down does not have a built-in secondary field property, but you can simulate it programmatically.

AddColumns(
    Books,
    'TitleAndAuthor',
    Title & " - " & Author
)

Combo box double layout: Display Title and Author in one row by selecting the double layout and assigning both fields.

Single vs multiple selection

Here a significant difference in behavior:

  • Combo box: Supports single or multiple selections. Control it with the Allow multiple selection property.
  • Drop down: Always single-select; one item is selected at any time.

Tip: Use the combo box when users need to pick two or more items; use the drop down for a single choice.

Search functionality and search fields

Search is integral to the combo box and absent from the drop down:

  • Combo box search: Type to filter items. You can enable/disable Allow searching and customize the Input text placeholder (e.g., “Select items”).
  • Search fields: Define which columns are searched. You can use one or multiple fields (e.g., search by Author and Title).
  • Drop down: No built-in search; better for short lists where scrolling is fine.

Example: Search in both Author and Title:

// Get the logical name of the column from Dataverse table
ComboBox.SearchFields = ["AuthorLogicalName", "TitleLogicalName"]
ComboBox.InputTextPlaceholder = "Find books"

Showing combined fields (Title + Author)

The combo box can show a secondary field via double layout. If you want a drop down to show both Title and Author, create a local combined column with AddColumns and bind to it.

  • Why: Drop down only supports a single Value field; combining fields gives a richer display.
  • Where: This transformation is local in the app (not written back to Dataverse).

Display mode and visibility

Both controls share state properties that affect interactivity:

  • DisplayMode: Edit allows selection, Disabled greys out the control without interaction, and View shows the control without allowing changes.
  • Visible: Toggle to show/hide controls as needed.

Getting selected values

You’ll often need to read what the user picked. The combo box returns a table of records; the drop down returns a single record.

Combo box: list all selected titles

Use SelectedItems and convert the table to a string with Concat for display.

// Label.Text: show all selected book titles separated by commas
Concat(ComboBox1.SelectedItems, Title & ", ")

Drop down: show the selected title

Use Selected or SelectedText depending on your binding. If you mapped Value to “Title”, then:

// Label.Text: show the selected drop down value (Title)
Dropdown1.SelectedText.Value

// Alternatively, if accessing the bound record explicitly:
Dropdown1.Selected.Title

When to use each control

  • Use drop down when: You need a single selection from a short, simple list without search.
  • Use combo box when: You need search, multi-select, richer layouts (e.g., Title + Author), or filtering across multiple fields.

Quick verdict: The combo box offers flexibility for large or complex lists and multi-select scenarios; the drop down is perfect for straightforward, single-choice inputs.

Comments

Leave a Comment

Your email address will not be published. Required fields are marked *