Here is my code below
<td v-for="config in configs" v-if="config">
<input type="number" v-model="config.score" v-on:keyup="computeTestScores(allocation, $event)">
</td>
<td><span class="subtotal"></span></td>`
how do i compute the subtotal? Secondly, if the values of any input changes, i want to be able update the total class;