diff --git a/docs/en-US/component/checkbox.md b/docs/en-US/component/checkbox.md index a74fa11ec0..9bd418a8b2 100644 --- a/docs/en-US/component/checkbox.md +++ b/docs/en-US/component/checkbox.md @@ -149,22 +149,22 @@ checkbox/with-border ### CheckboxGroup Attributes -| Name | Description | Type | Default | -| --------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------- | -| model-value / v-model | binding value | ^[array]`string[] \| number[]` | [] | -| size | size of checkbox | ^[enum]`'large' \| 'default' \| 'small'` | — | -| disabled | whether the nesting checkboxes are disabled | ^[boolean] | false | -| min | minimum number of checkbox checked | ^[number] | — | -| max | maximum number of checkbox checked | ^[number] | — | -| aria-label ^(a11y) ^(2.7.2) | native `aria-label` attribute | ^[string] | — | -| text-color | font color when button is active | ^[string] | #ffffff | -| fill | border and background color when button is active | ^[string] | #409eff | -| tag | element tag of the checkbox group | ^[string] | div | -| validate-event | whether to trigger form validation | ^[boolean] | true | -| label ^(a11y) ^(deprecated) | native `aria-label` attribute | ^[string] | — | -| options ^(2.11.2) | data of the options, the key of `value` and `label` and `disabled` can be customize by `props` | ^[array]`Array<{[key: string]: any}>` | — | -| props ^(2.11.2) | configuration options | ^[object]`{ value?: string, label?: string, disabled?: boolean}` | `{value: 'value', label: 'label', disabled: 'disabled'}` | -| type ^(2.11.5) | component type to render options (e.g. `'button'`) | ^[enum]`'checkbox' \| 'button'` | 'checkbox' | +| Name | Description | Type | Default | +| --------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- | +| model-value / v-model | binding value | ^[array]`string[] \| number[]` | [] | +| size | size of checkbox | ^[enum]`'large' \| 'default' \| 'small'` | — | +| disabled | whether the nesting checkboxes are disabled | ^[boolean] | false | +| min | minimum number of checkbox checked | ^[number] | — | +| max | maximum number of checkbox checked | ^[number] | — | +| aria-label ^(a11y) ^(2.7.2) | native `aria-label` attribute | ^[string] | — | +| text-color | font color when button is active | ^[string] | #ffffff | +| fill | border and background color when button is active | ^[string] | #409eff | +| tag | element tag of the checkbox group | ^[string] | div | +| validate-event | whether to trigger form validation | ^[boolean] | true | +| label ^(a11y) ^(deprecated) | native `aria-label` attribute | ^[string] | — | +| options ^(2.11.2) | data of the options, the key of `value` and `label` and `disabled` can be customize by `props` | ^[array]`Array<{[key: string]: any}>` | — | +| props ^(2.11.2) | configuration options | ^[object]`{ value?: string, label?: string, disabled?: string}` | `{value: 'value', label: 'label', disabled: 'disabled'}` | +| type ^(2.11.5) | component type to render options (e.g. `'button'`) | ^[enum]`'checkbox' \| 'button'` | 'checkbox' | ### CheckboxGroup Events diff --git a/docs/en-US/component/radio.md b/docs/en-US/component/radio.md index 933d723ba5..b28a1c95d9 100644 --- a/docs/en-US/component/radio.md +++ b/docs/en-US/component/radio.md @@ -117,21 +117,21 @@ radio/radio-button ### RadioGroup Attributes -| Name | Description | Type | Default | -| --------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------- | -| model-value / v-model | binding value | ^[string] / ^[number] / ^[boolean] | — | -| size | the size of radio buttons or bordered radios | ^[string] | default | -| disabled | whether the nesting radios are disabled | ^[boolean] | false | -| validate-event | whether to trigger form validation | ^[boolean] | true | -| text-color | font color when button is active | ^[string] | #ffffff | -| fill | border and background color when button is active | ^[string] | #409eff | -| aria-label ^(a11y) ^(2.7.2) | same as `aria-label` in RadioGroup | ^[string] | — | -| name | native `name` attribute | ^[string] | — | -| id | native `id` attribute | ^[string] | — | -| label ^(a11y) ^(deprecated) | same as `aria-label` in RadioGroup | ^[string] | — | -| options ^(2.11.2) | data of the options, the key of `value` and `label` and `disabled` can be customize by `props` | ^[array]`Array<{[key: string]: any}>` | — | -| props ^(2.11.2) | configuration options | ^[object]`{ value?: string, label?: string, disabled?: boolean}` | `{value: 'value', label: 'label', disabled: 'disabled'}` | -| type ^(2.11.5) | component type to render options (e.g. `'button'`) | ^[enum]`'radio' \| 'button'` | 'radio' | +| Name | Description | Type | Default | +| --------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------- | +| model-value / v-model | binding value | ^[string] / ^[number] / ^[boolean] | — | +| size | the size of radio buttons or bordered radios | ^[string] | default | +| disabled | whether the nesting radios are disabled | ^[boolean] | false | +| validate-event | whether to trigger form validation | ^[boolean] | true | +| text-color | font color when button is active | ^[string] | #ffffff | +| fill | border and background color when button is active | ^[string] | #409eff | +| aria-label ^(a11y) ^(2.7.2) | same as `aria-label` in RadioGroup | ^[string] | — | +| name | native `name` attribute | ^[string] | — | +| id | native `id` attribute | ^[string] | — | +| label ^(a11y) ^(deprecated) | same as `aria-label` in RadioGroup | ^[string] | — | +| options ^(2.11.2) | data of the options, the key of `value` and `label` and `disabled` can be customize by `props` | ^[array]`Array<{[key: string]: any}>` | — | +| props ^(2.11.2) | configuration options | ^[object]`{ value?: string, label?: string, disabled?: string}` | `{value: 'value', label: 'label', disabled: 'disabled'}` | +| type ^(2.11.5) | component type to render options (e.g. `'button'`) | ^[enum]`'radio' \| 'button'` | 'radio' | ### RadioGroup Events