From ec84f777eafcdeeb9073bbdf599fc07520f7e7b7 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 10 Sep 2024 12:25:41 +0200 Subject: [PATCH] docs(radio-group): link `value` to `Value Key` title --- docs/content/3.components/radio-group.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/3.components/radio-group.md b/docs/content/3.components/radio-group.md index 726c2131..ebe67e50 100644 --- a/docs/content/3.components/radio-group.md +++ b/docs/content/3.components/radio-group.md @@ -40,7 +40,7 @@ You can also pass an array of objects with the following properties: - `label?: string`{lang="ts-type"} - `description?: string`{lang="ts-type"} -- `value?: string`{lang="ts-type"} +- [`value?: string`{lang="ts-type"}](#value-key) - `disabled?: boolean`{lang="ts-type"} ::component-code @@ -70,6 +70,8 @@ props: When using objects, you need to reference the `value` property of the object in the `v-model` directive or the `default-value` prop. :: +#### Value Key + You can change the property that is used to set the value by using the `value-key` prop. ::component-code