LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Tutorial
    • Avonni Components App
      • Accessing the App
      • Folders
      • Templates
      • Version management
    • Understanding The Essentials
      • Component Builder
      • Component Visibility
      • Target Page Object
      • Using Variables and Component Data
      • Publishing your Dynamic Components
      • Dynamic vs. Flow Components
    • AppExchange Listing Page
    • Installation & Licenses Management
  • Tutorials
    • Projects
    • Components
      • Calendar
        • How to Create Events Quickly by Dragging
        • How to Add an Edit Action to Calendar Events
        • How to Add a New Event Button to the Calendar Header
        • How to Customize the Right-Click Menu
        • How to Reschedule Events with Drag and Drop
      • Columns
        • Creating a Responsive 3-Column Layout
      • Data Table
        • How to customize Data Table style
        • How to make a field editable
        • How to add clickable buttons
        • How to color-code badges
        • How to export data
        • How to configure search
        • How to set columns visibility
      • Kanban
        • Saving Changes on Drag-and-Drop
      • List
      • Metric
      • Record Detail
        • Saving Changes
    • Interactions
      • How to create an interaction to navigate to an object page
      • How to create an interaction to navigate to a record page
      • How to Pass Multiple Selected Records from a Dynamic Component to a Screen Flow
    • Reactive Components
      • Reactive Map and Data Table
      • Master-Detail Relationship with Data Tables
      • Vertical Tabs with Reactive Data Table
    • Style
      • How do you add space or a break between sections or fields?
    • Tips and Tricks
      • Using the Dynamic Component component
  • Component Builder
    • Overview
    • Configuring Components
      • Properties
      • Fields
      • Style
    • Data & Interactions
      • Data Sources
        • Manual
        • Picklist
      • Resources
        • Constant
        • Formula
        • Nested Queries
        • Query
        • Variable
      • Interactions
        • CRUD from Record Variable
        • Download
        • Execute Flow
        • Navigate
        • On Load
        • Open Alert Modal
        • Open Confirm
        • Open Dynamic Component Dialog
        • Open Dynamic Component Panel
        • Open Flow Panel
        • Open Flow Dialog
        • Show Toast
    • Advanced Topics
      • Undo / Redo
      • Copy and Paste
      • Keyboard Shortcut
  • Components
    • Explore All Components
    • Accordion
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Badge
    • Barcode
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Button Stateful
    • Calendar
    • Camera 🆕
    • Card
    • Carousel
    • Chart
    • Checkbox
    • Checkbox Button
    • Chip Container
    • Color Picker
    • Columns
    • Combobox
    • Container
    • Counter
    • Data LWC Container
    • Data Table
    • Date Picker
    • Date
    • Date Range
    • Dual Listbox
    • Dynamic Component
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Icon
    • Icon Picker
    • Illustration
    • Image
    • Input Color
    • Input Date
    • Input Pen (Signature)
    • Input Text
    • Kanban
    • List
    • LWC Container
    • Map
    • Media Object
    • Metric
    • PDF Viewer
    • Pivot Table
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Rating
    • Record Detail
    • Relationship Graph
    • Scope Notification
    • Section
    • Separator
    • Slider
    • Status
    • Tabbed Container
    • Tabs
    • Text
    • Text Area
    • Timeline
    • Toggle
    • Tree
    • Vertical Visual Picker
    • Video Player
    • Visual Picker
    • Visual Picker Link
  • Help
    • Contact Support
    • Security
    • Performance Guide
    • Deployment Process
    • Release Notes
    • Report Bugs
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Combobox Tutorial Examples
  • Setting Up Your Combobox
  • Choose a Data Source
  • Data Mappings (for Variable and Query sources)
  • Configure General Settings
  • Configure Dropdown List Settings
  • Adding Interactions

Was this helpful?

  1. Components

Combobox

Last updated 1 month ago

Was this helpful?

Combobox Tutorial Examples


Setting Up Your Combobox

Choose a Data Source

In the Properties Panel, find the Data Source property and select one of the following:

Data Mappings (for Variable and Query sources)

After choosing your data source (Variable or Query), you need to tell the Combobox which fields from that data source should be used to display each option in the dropdown list. This is done through data mappings. You're essentially linking fields from your data to specific parts of the Combobox's appearance.

  • Label: Select the field that contains the text you want to display for each option in the dropdown (e.g., Contact.Name, Account.Name, or a formula to combine fields).

  • Description: Select the field that contains the subtext you want to display for each option in the dropdown.

  • Avatar Image Source: Map a field (usually a URL field) containing the image to display in the combobox option.

Configure General Settings

After setting up your data source and mappings, you can customize the Combobox's basic behavior and appearance using these general settings.

  • Label: (Text) Enter a label for the Combobox itself (e.g., "Select a Contact:"). This label is displayed above the dropdown.

  • Value: (Text/Collection)

    • This holds the currently selected value(s). It's essential to bind this to the proper field type.

    • For single-select, bind it to the value.

    • For Multiple select, bind it to a collection variable.

  • Placeholder: (Text) Placeholder text to display when no option is selected.

  • Variant: (Text) Select how the combobox is displayed: Standard, Label Inline, Label Stacked, Label Hidden

Configure Dropdown List Settings

These settings control the behavior and appearance of the dropdown list itself (the part that appears when the user clicks on the Combobox):

  • Dropdown Alignment: Align the dropdown list (Left, Center, Right, Auto).

  • Dropdown Length: Visible dropdown height (5 or 7 options).

  • Multiselect: Allow multiple selections (yes/no).

  • Maximum Selected Options: (If Multiselect) Maximum selections allowed.

  • Minimum Selected Options: (If Multiselect) Minimum selections required.

  • Keep Open on Select: (If Multiselect) Keep dropdown open after selecting.

  • Show Search Input: Show a search box within the dropdown.

  • Required: Make a selection mandatory.

  • Disabled: Disable the entire Combobox.

  • Hide Clear Icon: Hide the "x" (clear) icon.

  • Hide Selected Options: Hide options already selected

Adding Interactions

The Combobox component supports interactions, allowing you to trigger actions when the user changes the selection. The most common event is On Change, which fires whenever the selected option (or options, in multi-select mode) changes.

To add an interaction

  1. Select the Combobox: Click on the Combobox component in the Component Builder canvas.

  2. Go to the Interactions Panel: Find the "Interactions" panel (or the "Interactions" section within the Properties Panel).

  3. Add a New Interaction: Click the button or link to add a new interaction.

  4. Choose the Event: Select the On Change event.

  5. Choose an Action: When the selection changes, select the action you want to perform. Examples include:

    • Navigate: Go to a different page or record.

    • Open Flow Dialog/Panel: Launch a Screen Flow.

    • Show Toast: Display a notification message.

    • Refresh Data Source: Refresh a data source (often used in conjunction with reactive filtering, as shown in the example below).

    • Set Variable Value: Set a variable value.

  6. Configure the Action: Provide the necessary settings for the chosen action. This often involves referencing the Combobox's current value.

Manual

Enter data directly into the component configuration.

Variable

This is useful for data that changes based on user interactions or other component logic.

Query

This is the most common option for displaying Salesforce records.

Picklist

Retrieve data dynamically from a standard or custom picklist field within Salesforce.

User Activity Report