mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +01:00
fix TypeError: Cannot read properties of null (reading 'trim')
This commit is contained in:
parent
fbea686a71
commit
44359621a3
@ -276,7 +276,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Label in first column, widget in 2nd
|
// Label in first column, widget in 2nd
|
||||||
const label = this.options.label || field.label;
|
const label = this.options.label || field.label || '';
|
||||||
jQuery(document.createElement("td"))
|
jQuery(document.createElement("td"))
|
||||||
.prependTo(row);
|
.prependTo(row);
|
||||||
et2_createWidget("label", {id: id + "_label", value: label.trim(), for: id}, this);
|
et2_createWidget("label", {id: id + "_label", value: label.trim(), for: id}, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user