Closed amelon closed 7 years ago
Would like this option as well.
What would you like the behavior to be when it is disabled? Hidden? Visible but not interactive (greyed out)?
@dubert I think greyed out with the cursor: not-allowed;
css when hovering the element would make sense.
Greyed out like typical disabled input behavior, need this as well.
Hey guys, while we don't have this feature, I solved it with this workaround: https://stackoverflow.com/questions/28083708/how-to-disable-clicking-inside-div
Just use the css pointer-events:none; in a parent element.
Just released 1.6.0!
Try out the disabled
prop.
hello,
can't find any option to disable component.
Could be fine to have a
disabled
prop as we do for aninput
element (<input disabled/>
).Or do you have other suggestion?