diff --git a/projects/common/models/elements/compound-elements/table/table.ts b/projects/common/models/elements/compound-elements/table/table.ts index 2f249fa1e704740ea1a272c906ef6678f0d545f6..3b763324bd1a609da3117959a5d91b4a9e857352 100644 --- a/projects/common/models/elements/compound-elements/table/table.ts +++ b/projects/common/models/elements/compound-elements/table/table.ts @@ -36,7 +36,6 @@ export class TableElement extends CompoundElement implements PositionedUIElement newElement.gridRow = el.gridRow; // add custom table element params newElement.gridColumn = el.gridColumn; if (el.type === 'text-field') { - delete newElement.label; delete newElement.appearance; } return newElement; diff --git a/projects/editor/src/app/components/dialogs/table-edit-dialog.component.ts b/projects/editor/src/app/components/dialogs/table-edit-dialog.component.ts index e4e75a9b99c393f61bf3e4b4e3760ef1a16f26ed..f5ecd04e214488bb9b7f92e66a21d2a04c53d856 100644 --- a/projects/editor/src/app/components/dialogs/table-edit-dialog.component.ts +++ b/projects/editor/src/app/components/dialogs/table-edit-dialog.component.ts @@ -68,7 +68,6 @@ export class TableEditDialogComponent { newEle.gridRow = el.row + 1; newEle.gridColumn = el.col + 1; if (newEle.type === 'text-field') { - delete newEle.label; delete newEle.appearance; } this.newTable.elements.push(newEle);