vue-switches
vue-switches copied to clipboard
Disable switching: just display
How can I achieve this?
Use the "disabled" attribute. The underlying checkbox is disabled and cannot be changed.
I had the same problem and could not find a solution. I had to use "pointer-events: none" and set opacity in the dynamic class.