MultiSelectComboBox QML Type
A combo box with multiple selection support. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
- model : var
- popup : Popup
- selectedItems : list
- textRole : string
Detailed Description
MultiSelectComboBox extends the standard combo box to allow selecting multiple items from a dropdown list. Selected items are displayed as a comma-separated list or using a custom popup. It supports a model-based data source with configurable text roles.
Usage Example
import QtQuick import FluentUI.Controls MultiSelectComboBox { model: ["Option 1", "Option 2", "Option 3"] }
Property Documentation
model : var
The data model providing the items for the combo box. Can be a list of strings, a ListModel, or other Qt-compatible model types.
popup : Popup
The popup component used for the dropdown list. Can be customized to change the appearance and behavior of the dropdown.
selectedItems : list
The list of currently selected items. Each entry corresponds to an item from the model that the user has checked.
textRole : string
The model role used to retrieve display text for each item.