mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
finalize docs, ready to merge
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
## Selecting Values {#values}
|
## Selecting Values {#single}
|
||||||
|
|
||||||
The most common use case for `vue-select` is to have the chosen value synced with a parent component. `vue-select` takes advantage of the `v-model` syntax to sync values with a parent.
|
The most common use case for `vue-select` is to have the chosen value synced with a parent component. `vue-select` takes advantage of the `v-model` syntax to sync values with a parent.
|
||||||
|
|
||||||
@@ -25,3 +25,14 @@ By default, `vue-select` supports choosing a single value. If you need multiple
|
|||||||
```
|
```
|
||||||
|
|
||||||
[](codepen://sagalbot/opMGro?height=250)
|
[](codepen://sagalbot/opMGro?height=250)
|
||||||
|
|
||||||
|
### Tagging {#tagging}
|
||||||
|
|
||||||
|
To allow input that's not present within the options, set the `taggable` prop to true.
|
||||||
|
If you want new tags to be pushed to the options list, set `push-tags` to true.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<v-select taggable></v-select>
|
||||||
|
```
|
||||||
|
|
||||||
|
[](codepen://sagalbot/NpwrQO?height=250)
|
||||||
|
|||||||
@@ -6,18 +6,16 @@
|
|||||||
- [Option Labels](Basics/Options.md#labels)
|
- [Option Labels](Basics/Options.md#labels)
|
||||||
- [Null Options](Basics/Options.md#null)
|
- [Null Options](Basics/Options.md#null)
|
||||||
- [Selecting Values](Basics/Values.md#values)
|
- [Selecting Values](Basics/Values.md#values)
|
||||||
- [Tagging](Basics/Values.md#tagging)
|
- [Single](Basics/Values.md#single)
|
||||||
- [Multiple](Basics/Values.md#multiple)
|
- [Multiple](Basics/Values.md#multiple)
|
||||||
|
- [Tagging](Basics/Values.md#tagging)
|
||||||
- [Localization](Basics/Localization.md)
|
- [Localization](Basics/Localization.md)
|
||||||
|
|
||||||
- Digging Deeper
|
- Digging Deeper
|
||||||
- [Templating](Advanced/Templating.md)
|
- [Templating](Advanced/Templating.md)
|
||||||
- [Vuex](Advanced/Vuex.md)
|
- [Vuex](Advanced/Vuex.md)
|
||||||
- [AJAX](Advanced/Ajax.md)
|
- [AJAX](Advanced/Ajax.md)
|
||||||
- [Validation](Advanced/Validation.md)
|
|
||||||
- [Examples](Examples.md)
|
- [Examples](Examples.md)
|
||||||
|
|
||||||
- API
|
- API
|
||||||
- [Props](Api/Props.md)
|
- [Props](Api/Props.md)
|
||||||
- [Events](Api/Events.md)
|
|
||||||
- [Slots](Api/Slots.md)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user