From b7623cb2844b3cb838d8874c8b6949a4c2deef06 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 18 Jul 2022 15:24:10 -0600 Subject: [PATCH] Fix missing link entry title in readonly customfield list --- api/js/etemplate/et2_extension_customfields.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_extension_customfields.ts b/api/js/etemplate/et2_extension_customfields.ts index 254e3a4ab9..9027115ab7 100644 --- a/api/js/etemplate/et2_extension_customfields.ts +++ b/api/js/etemplate/et2_extension_customfields.ts @@ -725,7 +725,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac delete(attrs.label); attrs.type = "link-entry"; - attrs.only_app = typeof field.only_app == "undefined" ? field.type : field.only_app; + attrs[attrs.readonly ? "app" : "only_app"] = typeof field.only_app == "undefined" ? field.type : field.only_app; return true; }