Removing paragraph from table generates JS error

Created on 6 January 2023, almost 2 years ago
Updated 23 January 2023, almost 2 years ago

Problem/Motivation

When try to remove a paragraph from the table, an empty row remains in place and there is a JS error in the console:

"Uncaught TypeError: Cannot read properties of undefined (reading 'colSpan')"

Steps to reproduce

1. Add 1 paragraph field with unlimited values to a content type.
2. Create a node, and add several paragraph items to it.
3. Edit the node and try to remove 1 item (not the first one) from the table.

You should see a broken table with an empty row, the weight column is also shown, and the console also has the JS error.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇴Romania cslevy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024