# Text Collection to Dual Listbox Options

## Overview

This action converts a collection of text values into a format ready to use as options in the [Avonni Dual listbox component](https://docs.avonnicomponents.com/flow/flow-components/dual-listbox). Dual listboxes allow users to move items between two lists, making selecting or categorizing items easy.

***

## **How it Helps**

Imagine you have a flow where users must select their preferred communication channels from a list of options. This action lets you take a text collection containing those channels (e.g., "Email," "Phone," "SMS") and automatically populate the options in a dual listbox. Users can then easily move their preferred channels to the selected list.

***

## **When to Use It**

This action is ideal for:

* **Dynamically populating dual listbox options.**
* **Creating interactive selection lists.**
* **Allowing users to categorize or filter items.**
* **Simplifying the configuration of dual listbox components.**

***

## **Example**

To create a dual listbox for selecting product features:

1. **Create a Text Collection:** Have a Text Collection variable containing a list of product features (e.g., "GPS," "Bluetooth," "Camera").
2. **Configure the Action:** Select the product feature collection as the "Source Collection."
3. **Connect to Dual Listbox:** In your flow, connect the output of this action to the "Options" attribute of a dual listbox component.

***

## **Key Considerations**

* **Source Collection:** Ensure you have a valid collection of text values you want to use as dual listbox options.
* **Dual Listbox Component:** This action is designed to work with dual listbox components. Ensure you have a dual listbox component in your flow where you want to display the options.
* **User Interaction:** Consider how you will handle user interactions with the dual listbox (e.g., saving the selected options, processing the categorized items)
