Skip to content

Commit d2d77ea

Browse files
authored
Merge pull request #292 from atari-sog/patch-1
fix(CFormSelect): add the missing `selected` attribute to the option typings
2 parents b9720dd + 0627839 commit d2d77ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/api/form/CFormSelect.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import CFormSelect from '@coreui/vue/src/components/form/CFormSelect'
1919
| **invalid** | Set component validation state to invalid. | boolean | - | - |
2020
| **label** <br><div class="badge bg-primary">4.3.0+</div> | Add a caption for a component. | string | - | - |
2121
| **model-value** | The default name for a value passed using v-model. | string \| string[] | - | - |
22-
| **options** | Options list of the select component. Available keys: `label`, `value`, `disabled`.<br>Examples:<br>- `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`<br>- `:options="['js', 'html']"` | Option[] \| string[] | - | - |
22+
| **options** | Options list of the select component. Available keys: `label`, `value`, `disabled`, `selected`.<br>Examples:<br>- `:options="[{ value: 'js', label: 'JavaScript', selected: true }, { value: 'html', label: 'HTML', disabled: true }]"`<br>- `:options="['js', 'html']"` | Option[] \| string[] | - | - |
2323
| **size** | Size the component small or large. | string | `'sm' \| 'lg'` | - |
2424
| **text** <br><div class="badge bg-primary">4.3.0+</div> | Add helper text to the component. | string | - | - |
2525
| **tooltip-feedback** <br><div class="badge bg-primary">4.3.0+</div> | Display validation feedback in a styled tooltip. | boolean | - | - |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy