mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +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
|
||||
{
|
||||
// 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"))
|
||||
.prependTo(row);
|
||||
et2_createWidget("label", {id: id + "_label", value: label.trim(), for: id}, this);
|
||||
|
Loading…
Reference in New Issue
Block a user