From 6717d7f70da751dd74ec5ee13a61ab2ddcba8a9f Mon Sep 17 00:00:00 2001 From: Zhong Date: Thu, 12 Jun 2025 11:44:46 +0800 Subject: [PATCH] docs(components): [radio] fix text-color and fill attr ownership (#20997) * docs(components): [radio] fix text-color and fill attr ownership * docs: format order * docs: format order --------- Co-authored-by: it-evan Co-authored-by: warmthsea <2586244885@qq.com> --- docs/en-US/component/radio.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/en-US/component/radio.md b/docs/en-US/component/radio.md index a16fa3d5be..b5082544b6 100644 --- a/docs/en-US/component/radio.md +++ b/docs/en-US/component/radio.md @@ -119,16 +119,18 @@ radio/with-borders ### 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 | -| 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] | — | +| 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] | — | ### RadioGroup Events @@ -152,8 +154,6 @@ radio/with-borders | label | the label of Radio. If there's no `value`, `label` will act as `value` | ^[string] / ^[number] / ^[boolean] | — | | disabled | whether Radio is disabled | ^[boolean] | false | | name | native 'name' attribute | ^[string] | — | -| text-color | font color when button is active | ^[string] | #ffffff | -| fill | border and background color when button is active | ^[string] | #409eff | ### RadioButton Slots