Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Form.Switch Component complains about required key #1266

Closed
tehsis opened this issue Dec 12, 2018 · 0 comments · Fixed by #1273
Closed

Form.Switch Component complains about required key #1266

tehsis opened this issue Dec 12, 2018 · 0 comments · Fixed by #1273

Comments

@tehsis
Copy link

tehsis commented Dec 12, 2018

Describe the bug

When using Form.Switch component, the following warning is shown in the console:

 Warning: Each child in an array or iterator should have a unique "key" prop.
      
      Check the render method of `Switch`. See https://fb.me/react-warning-keys for more information.
          in styled.input (created by Switch)
          in Switch (created by Context.Consumer)
          in div (created by styled.div)
          in styled.div (created by Context.Consumer)
          in div (created by styled.div)
          in styled.div (created by Context.Consumer)
          in Form Field

Cosmos version:
0.10.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant