0👍
You can use v-if/else
directives to define checkboxes for both cases:
<b-checkbox v-if="item.selected"
v-model="item.selected"
></b-checkbox>
<b-checkbox v-else
v-model="defaultCheckbox"
></b-checkbox>
- [Vuejs]-How can i order by snapshot's child data containing a timestamp index with vue js
- [Vuejs]-Can't display image after getting assets path with axios
Source:stackexchange.com