QToggle "on change" event
-
Hi all,
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?
I’ve tried:<q-toggle @toggle="update(props.row.__index)" v-model="props.row.status" />
With no success.
Thank you! -
Hi,
try with
@input
event -
@tof06 it works!
Thank you
-
@tof06 This solution helped me too… Thank you!