vendredi 24 août 2018

How to set the delete button that is not active until at least one checkbox is selected?

How do I insert v-bind: disabled = "disabled" as an attribute in this code and change delete button to delete all items instead of one by one?

Here is the code:

  <b-btn @click.prevent="onDelete(data.item, data.index)"
           variant="danger">Delete
  </b-btn>




Aucun commentaire:

Enregistrer un commentaire