material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of TableHeader.

Open binarykitchen opened this issue 11 years ago • 7 comments

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?

binarykitchen avatar Sep 03 '15 00:09 binarykitchen

+1

avocadowastaken avatar Sep 09 '15 12:09 avocadowastaken

+1

peterpuzos avatar Sep 10 '15 14:09 peterpuzos

+1 Same in 'dialog.js'

afilp avatar Sep 23 '15 07:09 afilp

+1

atlewee avatar Oct 15 '15 06:10 atlewee

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!

chmann avatar Oct 15 '15 20:10 chmann

Duplicate of https://github.com/callemall/material-ui/issues/2028

oliviertassinari avatar Nov 01 '15 15:11 oliviertassinari

move key prop is right

tianwawawa avatar Jan 10 '17 05:01 tianwawawa