-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of TableHeader. #1583
Labels
component: table
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Comments
+1 |
1 similar comment
+1 |
AllenSH12
added a commit
to AllenSH12/material-ui
that referenced
this issue
Sep 11, 2015
- Key property was defined on the Checkbox element, causing React to throw a warning when enumerating any TableHeaderColumns - Fixes mui#1583
+1 |
+1 |
I just traced this through because it was driving me nuts. The problem is that no key is being placed on the Select All column. The key is added for the checkbox but not for the TableHeaderColumn wrapper. ...which is exactly what has already been fixed. #1625 :-) Thanks! |
Duplicate of #2028 |
move key prop is right |
zannager
added
duplicate
This issue or pull request already exists
component: table
This is the name of the generic UI component, not the React module!
labels
Dec 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: table
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
I tried adding unique keys everywhere but no luck.
Probably this warning is due to an internal bug? Can you check that you assign unique keys in the iterator for table header contents?
The text was updated successfully, but these errors were encountered: