value
Description
Optional. Specifies the selected valuesUsage
value?: (string | number)[];
Example
const dataset = [
{ id: 1, label: "First option" },
{ id: 2, label: "Second option" },
{ id: 3, label: "Third option" },
];
function Example() {
return <MultiCombo options={dataset} value={[1, 2, 3]} />;
}
Related article: Setting the values
Related sample: MultiCombo