mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
201e135964
- separate environment for developing docs - clear out discarded couscous files - start converting docs markdown
20 lines
572 B
Markdown
20 lines
572 B
Markdown
### Reactive Options
|
|
|
|
When the list of options provided by the parent changes, vue-select will react as you'd expect.
|
|
|
|
<div style="margin-top:0;" class="radio">
|
|
<label>
|
|
<input type="radio" name="reactive-options" v-model="reactive" :value="countries">
|
|
`<v-select :options="countries"></v-select>`
|
|
</label>
|
|
</div>
|
|
|
|
<div class="radio">
|
|
<label>
|
|
<input type="radio" name="reactive-options" v-model="reactive" :value="['foo','bar','baz']">
|
|
`<v-select options="['foo','bar','baz']"></v-select>`
|
|
</label>
|
|
</div>
|
|
|
|
<v-select :options="reactive"></v-select>
|