Black Lives Matter. Please consider donating to Black Girls Code today.

Error using the 'presentation':'markdown' column argument

Hello dashers,

I am running into an issue that seemed to pop up out of nowhere. I’d successfully been using the columns argument ‘presentation’: ‘markdown’ until a few days ago when all of a sudden I started getting the following error when running the app:

Invalid argument columns[0].presentation passed into DataTable with ID “dash-data-table”.
Expected one of [“input”,“dropdown”].

(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.)

I haven’t changed any of the source code. Wondering if it has to do with a package upgrade or conflict?

Here is the code in context:

columns = [{'name': i.replace(' ', '\n'), 'id': i, 'presentation':'markdown', 'hideable': True} for i in df.columns]

Has anyone else run into this issue?