Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d2d77ea

Browse filesBrowse 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
Copy full SHA for d2d77ea

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: packages/docs/api/form/CFormSelect.api.md
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.