QToggle "on change" event
I have a datatable where i need to place a toggle button (active/inactive) on each row.
When one toggle change his value i want to call a method that will update that record/status on the database.
What toogle event that i need to call?
<q-toggle @toggle="update(props.row.__index)" v-model="props.row.status" />
With no success.
@tof06 it works!
@tof06 This solution helped me too… Thank you!