optionLabel and optionValue documentation fixes

pull/4377/head
Tuğçe Küçükoğlu 2023-09-01 13:11:06 +03:00
parent 5990f1fc0a
commit 991f20ddf9
4 changed files with 7 additions and 11 deletions

View File

@ -1,9 +1,8 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
Dropdown is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. If
<i>optionValue</i> is omitted and the object has no <i>value</i> property, the object itself becomes the value of an option. Note that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and
<i>optionValue</i> would be necessary.
Dropdown is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. Note
that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and <i>optionValue</i> would be necessary.
</p>
</DocSectionText>
<div class="card flex justify-content-center">

View File

@ -1,9 +1,8 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
Listbox is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. If
<i>optionValue</i> is omitted and the object has no <i>value</i> property, the object itself becomes the value of an option. Note that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and
<i>optionValue</i> would be necessary.
Listbox is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. Note
that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and <i>optionValue</i> would be necessary.
</p>
</DocSectionText>
<div class="card flex justify-content-center">

View File

@ -1,9 +1,8 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
MultiSelect is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. If
<i>optionValue</i> is omitted and the object has no <i>value</i> property, the object itself becomes the value of an option. Note that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and
<i>optionValue</i> would be necessary.
MultiSelect is used as a controlled component with <i>v-model</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively. Note
that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and <i>optionValue</i> would be necessary.
</p>
</DocSectionText>
<div class="card flex justify-content-center">

View File

@ -2,8 +2,7 @@
<DocSectionText v-bind="$attrs">
<p>
SelectButton is used as a controlled component with <i>modelValue</i> property along with an <i>options</i> collection. Label and value of an option are defined with the <i>optionLabel</i> and <i>optionValue</i> properties respectively.
If <i>optionValue</i> is omitted and the object has no <i>value</i> property, the object itself becomes the value of an option. Note that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and
<i>optionValue</i> would be necessary.
Note that, when options are simple primitive values such as a string array, no <i>optionLabel</i> and <i>optionValue</i> would be necessary.
</p>
</DocSectionText>
<div class="card flex justify-content-center">