mardi 11 décembre 2018

Disabling a checkbox by checking another checkbox in vuetify

So I have several checkboxes and two of them should function like radiobuttons meaning that if I click on one, the other one should become disabled and vice versa (I know I can do it using radiobuttons but I need to use checkboxes). What's the best way to do it?

Here is my code for those two checkboxes:

<v-checkbox label="Check1" value="Check1" v-model="Check1" ></v-checkbox>

<v-checkbox label="Check2" value="Check2" v-model="Check2" ></v-checkbox>




Aucun commentaire:

Enregistrer un commentaire