vue-switches icon indicating copy to clipboard operation
vue-switches copied to clipboard

Disable switching: just display

Open operfildoluiz opened this issue 6 years ago • 2 comments

How can I achieve this?

operfildoluiz avatar Jul 30 '18 16:07 operfildoluiz

Use the "disabled" attribute. The underlying checkbox is disabled and cannot be changed.

pmioni avatar Aug 20 '18 14:08 pmioni

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.

elsakarami avatar Jun 19 '21 08:06 elsakarami