-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
duplicateThis issue or pull request already exists.This issue or pull request already exists.scope: chipChanges related to the chip.Changes related to the chip.
Description
Steps to reproduce
Steps:
- Open this link to live example: (required) https://stackblitz.com/edit/github-s7eywubc?file=src%2FApp.tsx
- Click
ChipComponent - See console of your browser:
Current behavior
Uncaught error:
@mui_material_Chip.js?v=571386f0:2990 Uncaught TypeError: onClick is not a function
at onClick (@mui_material_Chip.js?v=571386f0:2990:9)
at executeDispatch (react-dom_client.js?v=571386f0:11734:11)
at runWithFiberInDEV (react-dom_client.js?v=571386f0:1483:72)
at processDispatchQueue (react-dom_client.js?v=571386f0:11770:37)
at react-dom_client.js?v=571386f0:12180:11
at batchedUpdates$1 (react-dom_client.js?v=571386f0:2626:42)
at dispatchEventForPluginEventSystem (react-dom_client.js?v=571386f0:11875:9)
at dispatchEvent (react-dom_client.js?v=571386f0:14790:13)
at dispatchDiscreteEvent (react-dom_client.js?v=571386f0:14771:62)
onClick @ @mui_material_Chip.js?v=571386f0:2990
Expected behavior
nothing happend
Context
No response
Your environment
npx @mui/envinfo
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
pnpm: Not Found
Browsers:
Chrome: 136.0.7103.113
npmPackages:
@emotion/react: 11.14.0
@emotion/styled: ^11.14.0 => 11.14.0
@mui/core-downloads-tracker: 7.1.1
@mui/icons-material: ^7.0.2 => 7.1.1
@mui/lab: ^7.0.0-beta.11 => 7.0.0-beta.13
@mui/material: ^7 => 7.1.1
@mui/material-nextjs: ^7 => 7.1.1
@mui/private-theming: 7.1.1
@mui/styled-engine: 7.1.1
@mui/system: 7.1.1
@mui/types: 7.4.3
@mui/utils: 7.1.1
@mui/x-charts: ^8.0.0 => 8.5.1
@mui/x-charts-vendor: 8.5.1
@mui/x-internals: 8.5.1
@types/react: ^19.1.2 => 19.1.6
react: ^19.1.0 => 19.1.0
react-dom: ^19.1.0 => 19.1.0
typescript: ^5.8.3 => 5.8.3
Search keywords: chip, is not a function
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already exists.This issue or pull request already exists.scope: chipChanges related to the chip.Changes related to the chip.