8000 [joy-ui][Autocomplete] Console error in Next.js about key prop being spread into JSX · Issue #40905 · mui/material-ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[joy-ui][Autocomplete] Console error in Next.js about key prop being spread into JSX  #40905
Closed
@jmgunter

Description

@jmgunter

Steps to reproduce

Link to live example: https://mui.com/joy-ui/react-autocomplete

Steps:
using nextjs, open any autocomplete element with options, and you will see the console error complaining about spreading the key. "Warning: A props object containing a "key" prop is being spread into JSX:"

This issues appears to have been recently fixed with the material-ui package #39474, but not yet with the joy-ui package.

Current behavior

image

Expected behavior

No console warnings

Context

No response

Your environment

npx @mui/joy
 Latest version of Chrome 

Search keywords: joy-ui nextjs warning key

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already exists

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0