A group of options for multiple choices. content in that tag will become the description following the button of the checkbox.
### Basic usage
### Basic usage
...
@@ -87,7 +87,7 @@ Disabled state for checkbox.
...
@@ -87,7 +87,7 @@ Disabled state for checkbox.
It is used for multiple checkboxes which are bound in one group, and indicates whether one option is selected by checking if it is checked.
It is used for multiple checkboxes which are bound in one group, and indicates whether one option is selected by checking if it is checked.
:::demo `checkbox-group` element can manage multiple checkboxes in one group by using `v-model` which is bound as an `Array`. `label` can modify the description following the button of the checkbox. It is also the value of the checkbox. `label` corresponds with the element values in the array. It is selected if the specified value exists in the array, and vice versa.
:::demo `checkbox-group` element can manage multiple checkboxes in one group by using `v-model` which is bound as an `Array`. in `el-checkbox` element, `label` is the value of the checkbox. While no content in that tag, it's also modify the description following the button of the checkbox. `label` also corresponds with the element values in the array. It is selected if the specified value exists in the array, and vice versa.
```html
```html
<template>
<template>
...
@@ -132,9 +132,9 @@ The `indeterminate` property can help you to achieve a 'check all' effect.
...
@@ -132,9 +132,9 @@ The `indeterminate` property can help you to achieve a 'check all' effect.