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

Warning: A props object containing a "key" prop is being spread into JSX #17

Closed
thaihuyhung opened this issue Feb 11, 2023 · 1 comment

Comments

@thaihuyhung
Copy link

Describe the bug
Hi, I'm having this warning every time I add new item into input
To Reproduce
Steps to reproduce the behavior:

  1. Click on input
  2. Type anything and press enter
  3. The warning is shown in console
    Error from file: https://github.com/viclafouch/mui-chips-input/blob/main/src/components/TextFieldChip/TextFieldChips.tsx#L304

Expected behavior
No error is shown

Screenshots
image
Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@viclafouch
Copy link
Owner

Hello @thaihuyhung !

Thanks for the catch !

Fixed in https://github.com/viclafouch/mui-chips-input/releases/tag/v2.0.0

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

No branches or pull requests

2 participants