Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Name | Description | Default | Control |
---|---|---|---|
slots | |||
label | unknown | - | - |
loadingState | Display the loading state via custom template code unknown | - | - |
selectedOption | Display the currently selected option via custom template code unknown | - | - |
option | Display individual options via custom template code unknown | - | - |
props | |||
options* | SelectOption[] | - | |
labelIsVisible | boolean | true | |
prependLabel | Prepends the field label to the displayed option boolean | false | |
loading | boolean | false | |
disabled | boolean | false | |
ariaLabel | string | '' | |
labelField | Field name in the string | 'label' | |
placeholder | string | '' | |
v-model | Generally, there's no need to set this via a prop - it will be set automatically when using v-model SelectOption | - | |
uniqueIdField | Field name in the string | 'value' | |
events | |||
select | emit the most recently selected value, generally not necessary, if state can be handled w/ v-model alone | - | - |
Sometimes, we need to display each option in the select with custom formatting, or in a way different from the standard display of option.label. When this is the case, an option scoped slot is provided for custom template code, as well as a selectedOption slot