2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Files
vue-select/docs/md/ReactiveOptions.md
T
Jeff Sagal 201e135964 - new dedicated development template
- separate environment for developing docs
- clear out discarded couscous files
- start converting docs markdown
2017-02-01 22:32:06 -08:00

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>