From 3274b700a6f655b8ecc3505e814ac5d782ae6ffe Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 13 Jul 2026 16:10:40 -0400 Subject: feat(admin): reminder text for color tags and item variables, improve placeholder text --- internal/admin/static/moduleeditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/admin/static/moduleeditor.js') diff --git a/internal/admin/static/moduleeditor.js b/internal/admin/static/moduleeditor.js index fe71f88..b2eb79f 100644 --- a/internal/admin/static/moduleeditor.js +++ b/internal/admin/static/moduleeditor.js @@ -221,7 +221,7 @@ function addArrayItem(cardID) { var arr = moduleData[sec.path] || []; var empty = {}; sec.fields.forEach(function(f) { - empty[f[0]] = f[2] === 'checkbox' ? false : (f[2] === 'number' ? 0 : ''); + empty[f[0]] = f[2] === 'checkbox' ? false : ''; }); arr.push(empty); moduleData[sec.path] = arr; -- cgit v1.2.3