v2.0.0-beta.11: Option groups
Pre-release
Pre-release
shentao
released this
15 Dec 00:49
·
579 commits
to master
since this release
New:
Support for option groups #111
Example grouped options:
options: [
{
label: 'Group A',
values: [1, 2, 3]
},
{
label: 'Group B',
values: [4, 5, 6]
}
}
And here’s how to configure the dropdown.
group-values
should point to the property where the option list is located.
group-label
should point to the group label.
<multiselect :options="options" group-values="values" group-label="label">
Complete docs soon. :)