Closed jimitpatel closed 6 years ago
I see two issues with the code sample that you've provided:
checked
and onChange
prop. Both of these are required for it to work properly.If you fix these things, I'm sure the package will work as advertised.
Cool. Understood my problem. Although, above code was just a part of it. I messed with flag values for disabled
and was changing it to check
or uncheck
on clicking it. Thanks a lot
Even though it is disabled, when I am dragging it, it is still working, but when I am clicking it, it is not working.