Javascript – Vue3 – How to enable/disable text input and checkbox based on input number
<div class="container-body" v-for="index in 10" :key="index"> <div class="container-content"></div> <div class="container-content"> <input :id="'Row'+index+'-input1'" type="text"> </div> <div class="container-content"> <input :id="'Row'+index+'-input2'" type="text" class="disabled"> </div> <div class="container-content"> <div class="custom-control custom-checkbox"> <input :id="'Row'+index+'checkbox'" class="form-check-input" type="checkbox" disabled> </div> </div> <div class="container-content delete"> <img/> </div> </div> I…