MultiCombo API Overview
Initialization
<script>
import { MultiCombo } from "wx-svelte-core";
const dataset = [
{id:1, name:"First option"},
{id:2, name:"Second option"},
{id:3, name:"Third option"}
]
</script>
<MultiCombo options={dataset}/>
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
MultiCombo Properties
checkboxes | defines whether MultiCombo options have checkboxes next to them |
disabled | defines whether a MultiCombo is disabled |
error | defines whether error styling is applied to a MultiCombo |
options | specifies a set of data items that will be used as MultiCombo options |
placeholder | sets the text of the input's placeholder |
textfield | binds MultiCombo options to the input field by the specified key |
title | sets a tooltip text with additional info about the control |
value | specifies the selected values |
MultiCombo Events
change | fires when a new value is selected in a multicombo |
select | fires when a new option is selected in a MultiCombo |