Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IgrToolbar throws console errors - broken CustomTool sample #89

Closed
mddifilippo89 opened this issue Nov 19, 2024 · 1 comment
Closed
Labels
🐛 bug Something isn't working

Comments

@mddifilippo89
Copy link
Collaborator

Navigate to sample
https://www.infragistics.com/react-demos/samples/charts/toolbar/custom-tool

Source
https://github.com/IgniteUI/igniteui-react-examples/tree/vnext/samples/charts/toolbar/custom-tool

Error 1:

Uncaught Error: each child must have a unique key or name property
at ContentChildrenManager.js:21:1
at react.development.js:1195:1
at react.development.js:1158:1
at mapIntoArray (react.development.js:1049:1)
at mapChildren (react.development.js:1157:1)
at Object.forEachChildren [as forEach] (react.development.js:1194:1)
at ContentChildrenManager.getChildren (ContentChildrenManager.js:18:1)
at IgrToolbar.render (igr-toolbar.js:141:1)
at finishClassComponent (react-dom.development.js:19781:1)
at updateClassComponent (react-dom.development.js:19727:1)

Error 2:
react-dom.development.js:18704 The above error occurred in the component:

at IgrToolbar (http://localhost:4200/static/js/bundle.js:242060:24)
at div
at div
at div
at div
at Sample (http://localhost:4200/static/js/bundle.js:187:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Error 3:
Uncaught Error: each child must have a unique key or name property
at ContentChildrenManager.js:21:1
at react.development.js:1195:1
at react.development.js:1158:1
at mapIntoArray (react.development.js:1049:1)
at mapChildren (react.development.js:1157:1)
at Object.forEachChildren [as forEach] (react.development.js:1194:1)
at ContentChildrenManager.getChildren (ContentChildrenManager.js:18:1)
at IgrToolbar.render (igr-toolbar.js:141:1)
at finishClassComponent (react-dom.development.js:19781:1)
at updateClassComponent (react-dom.development.js:19727:1)

@mddifilippo89 mddifilippo89 added the 🐛 bug Something isn't working label Nov 19, 2024
@mddifilippo89 mddifilippo89 changed the title CustomTool Sample - IgrToolbar throws console errors - white page IgrToolbar throws console errors - broken CustomTool sample Nov 19, 2024
@mddifilippo89
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant