Slider: how to toggle disabled state? #998
-
Hey zaggers 👋 How can I toggle the disabled state on a slider component? I have a minimal example here where I simply pass the When clicking the Ideally I would like to:
Any ideas how that can be achieved? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In this case, you can update the machine context transiently. Here's the Sandbox: |
Beta Was this translation helpful? Give feedback.
In this case, you can update the machine context transiently.
Here's the Sandbox:
https://codesandbox.io/s/musing-banach-k882pd?file=/src/Slider.js