0๐
โ
I would like the input of that row to be shown when the button is clicked. Here is the single line code
<td class=" p-2 d-flex">
<v-btn
class="mx-2"
fab
dark
small
color="primary"
@click="showTextField()"
>
<v-icon dark>
mdi-plus
</v-icon>
</v-btn>
<v-btn
@click="showTextField()"
class="mx-2"
fab
dark
small
color="primary"
>
<v-icon dark>
mdi-minus
</v-icon>
</v-btn>
<v-text-field
class="mr-2 d-none"
label="Quantity"
type="number"
required>
</v-text-field>
</td>
Source:stackexchange.com