Combobox
A drop-down list that also enables the user to select items in the drop-down list.
Overview
The Combobox user-friendly component combines a dropdown list with a text input field. Users can pick from a list of options or type their values. Once selected or typed, the choice appears in the Combobox. Users can also search within the list, select multiple items, add new options, and customize the look of the Combobox.
Tutorials
Changing the Properties
Enabling Multiselect
The options from your Combobox can be multi-selected by enabling the toggle multiselect
.
Setting the Data Source
The Data Source is where you'll set up the options in your combobox dropdown menu. You have three ways to do this:
Manual
: This option lets you manually enter each choice for your combobox, independent of any Salesforce data.Variable
: With this option, you can dynamically generate combobox options by connecting it to a data collection in your workflow. You'll also be able to map specific attributes for each option.Picklist values
: Choose this if you want to populate your combobox with existing picklist values from your Salesforce records.Query
: Ideal for complex data retrieval or when sourcing. Using a 'Get Records' collection with this data source is unnecessary, as the query is powerful enough to simplify your flow. Learn more.
Controlling Values Feature
This feature becomes particularly effective when utilizing picklist data sources. It introduces dynamic data filtering within your screen flows, providing a streamlined and intuitive user experience. This integration ensures the Avonni Combobox enhances interactivity and maintains data relevance with its context-aware selections.
Key Feature:
Controlling Values Functionality: At its core, the Avonni Combobox supports controlling values, a vital feature for creating responsive and data-driven interfaces in Salesforce Screen Flows.
How it Works:
Picklist Data Sources: The Avonni Combobox utilizes picklist data sources, allowing users to choose from a predefined list of options. This ensures consistency and accuracy in data entry.
Selection of a Controlling Field: Users can select a field within their Salesforce org with controlling values. This field acts as a primary filter for the data presented in the Combobox.
Dynamic Display of Controlling Values: Once a controlling field is selected, the Avonni Combobox adjusts to display only the relevant options based on the chosen controlling value. This leads to a more streamlined and context-specific user experience.
Benefits:
Enhanced Data Relevance: By filtering options based on controlling values, the Avonni Combobox ensures that users see only pertinent data, reducing clutter and enhancing decision-making.
Improved User Experience: The dynamic adjustment of available options based on selected controlling values makes for a user-friendly interface, simplifying the data entry process.
Increased Efficiency: This feature significantly reduces users' time searching for the right option, as irrelevant choices are filtered out.
Use Cases:
Ideal for scenarios where data selection needs to be precise and contextually relevant, such as filtering cities based on a selected country or displaying product models based on a selected brand.
Adding Interactions
From the interactions panel, you can define interactions when users select an option or multiple ones (when multi-select is enabled).
Here is a complete list of actions you can add to the Combobox.
Styling the Combobox
The label and the border are stylable with access to Color
, Font Size
, Font Weight
and radius
attributes
Last updated