c-select-values
A multi-select input component for collections of non-object values (primarily strings and numbers).
TIP
It is unlikely that you'll ever need to use this component directly - it is highly recommended that you use c-input instead and let it delegate to c-select-values for you.
Examples
template
<c-select-values
:model="post.setTags.args"
for="Post.methods.setTags.params.tagNames"
/>
Props
for: string | CollectionProperty | CollectionValue
for: string | CollectionProperty | CollectionValue
A metadata specifier for the value being bound. One of:
- A string with the name of the value belonging to
model
. - A direct reference to a metadata object.
- A string in dot-notation that starts with a type name.
model?: Model
model?: Model
An object owning the value that was specified by the for
prop.
value?: any // Vue 2
modelValue?: any // Vue 3
value?: any // Vue 2
modelValue?: any // Vue 3
If binding the component with v-model
, accepts the value
part of v-model
.