From 52b5c53a72b8dba342107a070d4817d39bd9d6a2 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 24 Jan 2026 17:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96pagetype=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E9=80=89=E4=B8=ADsection=EF=BC=8Cco?= =?UTF-8?q?lumn=E6=97=B6=E5=8F=B3=E8=BE=B9=E6=A0=8F=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=98=BE=E7=A4=BA=E7=9B=B8=E5=BA=94=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jingrow/frontend/src/core/features/form_builder/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jingrow/frontend/src/core/features/form_builder/store.js b/apps/jingrow/frontend/src/core/features/form_builder/store.js index 5afcc35..c43a7d2 100644 --- a/apps/jingrow/frontend/src/core/features/form_builder/store.js +++ b/apps/jingrow/frontend/src/core/features/form_builder/store.js @@ -87,7 +87,7 @@ export const RESTRICTED_FIELDS = [ export const DEFAULT_PAGEFIELD_PROPERTIES = [ // Label and Type section { fieldname: "label", label: t("Label"), fieldtype: "Data" }, - { fieldname: "fieldtype", label: t("Field Type"), fieldtype: "Select", options: ALL_FIELDTYPES.join("\n") }, + { fieldname: "fieldtype", label: t("Field Type"), fieldtype: "Select", options: [...ALL_FIELDTYPES, ...LAYOUT_FIELDS].join("\n") }, { fieldname: "fieldname", label: t("Fieldname"), fieldtype: "Data" }, { fieldname: "precision", label: t("Precision"), fieldtype: "Select", options: "\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9", depends_on: "eval:in_list(['Float', 'Currency', 'Percent'], pg.fieldtype)" }, { fieldname: "length", label: t("Length"), fieldtype: "Int", depends_on: "eval:in_list(['Data', 'Link', 'Dynamic Link', 'Password', 'Select', 'Read Only', 'Attach', 'Attach Image', 'Int'], pg.fieldtype)" },