dash-table icon indicating copy to clipboard operation
dash-table copied to clipboard

Objects are not valid as a React child html.P() inside a dash_table.DataTable row

Open kirankotari opened this issue 5 years ago • 2 comments

Objects are not valid as a React child (found: object with keys {props, type, namespace}). If you meant to render a collection of children, use an array instead.

(This error originated from the built-in JavaScript code that runs Dash apps. Click to see the full stack trace or open your browser's console.)

dash_table == 4.6.0

kirankotari avatar Feb 01 '20 16:02 kirankotari

facing the same issue any resolution?

aiswaryasankar avatar Sep 10 '20 04:09 aiswaryasankar

Ah we should perhaps find a better way to detect this and give a better error message... the issue is you cannot use Dash components for the contents of a dash-table table. Only strings & numbers can go in the cells. You can use markdown (presentation: 'markdown' for the appropriate columns) to display richer content.

alexcjohnson avatar Sep 11 '20 14:09 alexcjohnson