vendredi 12 août 2022

Checkbox count Vue js

Hi all I am new in Vue js and have a question. I have created such a checkbox

<input v-model="compared" type="checkbox" name="compare" value="compare"> And I want to create a function to control this. In the function I want to limit the number of selected boxes to 3 and arrange it to redirect to another page when it reaches 3. Is there anyone who can help with this?




Aucun commentaire:

Enregistrer un commentaire