I'm firing off webix.confirm() for the user to confirm the switch trigger, but I can't figure out how to revert back to the original state if the user cancels.
onItemClick works, but I'm noticing that the user can click way outside the switch and still trigger it. https://snippet.webix.com/sdl7f8o6
Is there a workaround here?
I know I can use onChange and then detachEvent() when the user cancels, but I'm wondering if there is a workaround?
UPDATE: I'm going with the toggle view. This seems to be a bug/limitation with switch.