diff --git a/api/js/etemplate/et2_extension_customfields.ts b/api/js/etemplate/et2_extension_customfields.ts index 55a1bdeea1..5f2d48e89e 100644 --- a/api/js/etemplate/et2_extension_customfields.ts +++ b/api/js/etemplate/et2_extension_customfields.ts @@ -540,6 +540,10 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac attrs.maxlength = field.len; } } + if(attrs.readonly) + { + field.type = 'description'; + } return true; }