0đź‘Ť
âś…
Inspecting the
While inspecting the
So I added the
I found out what was happening with the help of Chrome Dev Tools.
There’s a label right next to the checkbox, associated to it:
<input type="checkbox" (...) />
<label :for="'checkbox-' + item.id" (...) ></label>
Inspecting the <input type=checkbox>
using Google Chrome’s Dev Tools, it seems like the checkbox “has no area”:
•••
While inspecting the <label>
right next to it, shows me it actually “wraps and surrounds” the checkbox:
•••
So I added the @click.capture.stop.prevent="toggleNextOrder(item.id)"
Event Handler to the label, instead of the checkbox and now it works.
Source:stackexchange.com