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

List: when provided only with primaryKey results in non-unique key error #7179

Open
prabodhmeshram opened this issue Mar 29, 2024 · 0 comments
Labels
bug issue that does not match design or documentation and requires code changes to address

Comments

@prabodhmeshram
Copy link

Expected Behavior

When using a List component with only primaryKey attribute with render function, the list should be rendered without any console errors.

Actual Behavior

When using a List component with only primaryKey attribute with render function, the list is rendered but there is console error thrown that the key attribute provided to the List Item is non-unique.

URL, screen shot, or Codepen exhibiting the issue

CodeSandbox url to reproduce the issue

Error Screenshot

image

Your Environment

  • Grommet version: 2.34.2
  • Browser Name and version: Chrome, Firefox, Edge
  • Operating System and version (desktop or mobile): Windows, MacOS
@britt6612 britt6612 added the bug issue that does not match design or documentation and requires code changes to address label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue that does not match design or documentation and requires code changes to address
Projects
None yet
Development

No branches or pull requests

2 participants