mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
docs(radio-group): link value to Value Key title
This commit is contained in:
@@ -40,7 +40,7 @@ You can also pass an array of objects with the following properties:
|
|||||||
|
|
||||||
- `label?: string`{lang="ts-type"}
|
- `label?: string`{lang="ts-type"}
|
||||||
- `description?: 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"}
|
- `disabled?: boolean`{lang="ts-type"}
|
||||||
|
|
||||||
::component-code
|
::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.
|
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.
|
You can change the property that is used to set the value by using the `value-key` prop.
|
||||||
|
|
||||||
::component-code
|
::component-code
|
||||||
|
|||||||
Reference in New Issue
Block a user