-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
scope: chipChanges related to the chip.Changes related to the chip.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Steps to reproduce
Steps:
- Open this link to live example: https://mui.com/material-ui/react-chip/#basic-chip
- Open Console
- Click on any Chip that doesn't has onClick property (for example Basic Chip)
Current behavior
component throws an error because of missing onClick in properties
Expected behavior
error shouldn't appear as onClick is optional
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: chip
nyates42, ablackoff and leonardolombardi07
Metadata
Metadata
Assignees
Labels
scope: chipChanges related to the chip.Changes related to the chip.type: bugIt doesn't behave as expected.It doesn't behave as expected.
