Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Switch Issue
-
How to change default behavior of ons-switch on click and switch on and off it on basis of function only.
-
@Shubham-Kaushik You can add
pointer-events: none
rule to the switch and it won’t be clickable/draggable anymore.