mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix TypeError: Cannot read properties of null (reading 'trim')
This commit is contained in:
parent
184a74e7b0
commit
d071757bb9
@ -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