[Chip] Control clickable prop irrespective of onClick Prop #13052
Labels
component: chip
This is the name of the generic UI component, not the React module!
new feature
New feature or request
The Clickable property becomes true if an onClick prop is present in the chip currently. It would be great to make clickable props determine the click-ability of the chip irrespective of onClick props
Expected Behavior
Click-ability of the chip should be determined only by clickable property
Current Behavior
It is also determined/overridden by onClick property. Though clickable is false, if onClick is present, Chip is always clickable
Steps to Reproduce
Though clickable is false, the chip is clickable because of presence of onClick prop
Link: https://codesandbox.io/s/38qj8xp0o1
The text was updated successfully, but these errors were encountered: