diff --git a/copyoftemplateclass.ts b/copyoftemplateclass.ts index 9e74404..e685dde 100644 --- a/copyoftemplateclass.ts +++ b/copyoftemplateclass.ts @@ -74,11 +74,11 @@ class Table { const inputElements = document.getElementsByClassName("cell-detail"); for (const key in instanceOfCell) { // type script error--------------------------- - for (const input of inputElements) { - if (key === input.name) { - instanceOfCell[key] = input.value; - } - } + // for (const input of inputElements) { + // if (key === input.name) { + // instanceOfCell[key] = input.value; + // } + // } } this.render(); diff --git a/index.html b/index.html index b51a41f..8f86667 100644 --- a/index.html +++ b/index.html @@ -9,16 +9,33 @@
-