I play games and play with every combination I know, but I canโt check my checkboxes as noted.
Example:
<ul class="object administrator-checkbox-list"> <li v-for="module in modules"> <label v-bind:for="module.id"> <input type="checkbox" v-model="form.modules" v-bind:value="module.id" v-bind:id="module.id"> <span>@{{ module.name }}</span> </label> </li> </ul>
An example of these modules:
[ { "id": 1, "name": "Business", "checked": true }, { "id": 2, "name": "Business 2", "checked": false }, ]
What can I do to initially set checked flag states?
Lovelock
source share