-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] react-dom: Each child in a list should have a unique "key" prop #1433
Comments
Hi, |
These are just warnings and can be ignored unless you've found a way that this effects the behavior of the table itself. |
I understand, but nothing makes me happier than a clean console :). It should hopefully be resolved soon |
I would love to test this PR. Two points--
|
Closed by #1778 |
reopening since it looks like this issue still appears when the E.g see this simple example from the forum: import dash_bootstrap_components as dbc
from dash import Dash, html, dash_table
import pandas as pd
df = pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/solar.csv")
app = Dash(__name__)
app.layout = dash_table.DataTable(
df.to_dict("records"),
[{"name": i, "id": i, "presentation": "markdown"} for i in df.columns],
)
if __name__ == "__main__":
app.run_server(debug=True, port=8092) It appears that this was an omission when markdown presentation mode was added because it doesn't have a key prop added whereas input and dropdown do |
I have made the change you suggested @michaelbabyn and the example works without the console error. |
Hi--I am still getting this warning when running the example code here: |
hi @BaconEggsRL |
Sure:
![]() The warning above that (can't see in screenshot) is for "Invalid aria prop The warning appears when you activate the custom tooltip. Thanks |
The warning is from ag-grid, It may be missing a key somewhere. I think you can disregard the warning unless it's impacting the app performance. |
I experienced this issue in a bigger context but I found an easy way to reproduce it. Please run the
Quickstart
tutorial from https://dash.plotly.com/datatableScreenshots
![image](https://user-images.githubusercontent.com/35086881/95768459-61258f80-0c84-11eb-9e0e-6b5b95347bba.png)
Describe your context
Windows 10 machine on both Edge and Chrome browsers
Expected behavior
No warning.
Additional info
This issue might be related but does not appear to give a clear reproduction way which I did in the above.
The text was updated successfully, but these errors were encountered: