0👍
Can you try providing your Vuejs data object? Meanwhile, you could do
<li v-for="t in types" style="display: inline-block; list-style:none; padding:7px">
<input type="checkbox" :value="t.id" v-model="RestaurantObject.type_id" :checked="types.includes('RestaurantObject.type_id')">
<label :for="t.id">@{{ t.type_name }}</label>
</li>
- [Vuejs]-My validation code on form isn't working properly
- [Vuejs]-All buttons effect only the first button, but not themselves
Source:stackexchange.com