docs(radio-group): link value to Value Key title

This commit is contained in:
Benjamin Canac
2024-09-10 12:25:41 +02:00
parent a2a303f527
commit ec84f777ea

View File

@@ -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