Answers for "how to disable a button after clicking a button using vue.js"

1

how lock the button click in vue

<template>
  <div class="container">
     <button :disabled="isActive">Subscribe</button>  </div>
</template>

<script>
export default {
  data() {
    return {
      isActive: true,    };
  },
}
Posted by: Guest on October-07-2021
1

vue disable button

Just bind the disabled attribute to a boolean value like

<button :disabled='isDisabled'>Send Form</button>
as in this example
Posted by: Guest on March-12-2021

Code answers related to "how to disable a button after clicking a button using vue.js"

Browse Popular Code Answers by Language