Trying a configuration like this, Item with callback and a checkBox inside the item:
item (onclick = {myEditScreen();})
{
checkBox(boolval, label="my label")
}
Is there any way to allow myEditScreen to fire if you click OUTSIDE the checkbox or it's label, but not when you toggle the checkbox itself?
I tried this but it didn't work:
item (onclick = {myEditScreen();})
{
checkBox(boolval, label="my label", onchange={event.preventDefault()};)
}
Happens with the context menu as well (e.g. it opens context menu but then fires the item callback as well).
Thanks,
Brian