[Vuejs]-Enable button when checkboxes are active VueJs

3👍

You should do something like

First checkbox

<input class="form-check-input" v-model="checkOne" type="checkbox" id="age" checked />

second checkbox

<input class="form-check-input" v-model="checkTwo" type="checkbox" id="age" checked />

button

<button :disabled="!checkOne || !checkTwo" class="btn btn-outline-light btn-lg px-5 mb-1" type="submit" >

Leave a comment