toggle icon indicating copy to clipboard operation
toggle copied to clipboard

Conditionally disabling toggle does not change disabled classes

Open akwetey opened this issue 3 years ago • 0 comments

I am conditionally disabling the toggle base on a truthy value which is working fine however when there's an on change and the disable value is false I still have the disabled classes show on the toggle even though I am able to toggle. How do I remove the class when disabled is falsy and have the disabled class when disabled is truthy?

akwetey avatar Apr 27 '22 14:04 akwetey