React warning
ZachBray opened this issue · comments
Zach Bray commented
Thank you for the great library. I'm using it via react-autosuggest.
I've noticed that I get a warning when I have multiple selections suggestions:
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `Autowhatever`. See https://fb.me/react-warning-keys for more information
It looks like renderItemsList(...)
isn't adding a key to the items it returns.
Misha Moroshko commented
@ZachBray What do you mean by multiple selections? (Do you mean multiple sections?)
What version of React are you using?
Could you share a Codepen that demonstrates the issue?
Zach Bray commented
I'm using React v0.14.7
Misha Moroshko commented
This should be fixed in 3.2.3.