mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:04 +01:00
fix invalid can be null and then gives an error
This commit is contained in:
parent
36e3bd5de0
commit
c70886f106
@ -970,7 +970,7 @@ export class etemplate2
|
|||||||
{
|
{
|
||||||
canSubmit = !(invalid = this.isInvalid(container, values));
|
canSubmit = !(invalid = this.isInvalid(container, values));
|
||||||
}
|
}
|
||||||
invalid.then((widgets) =>
|
invalid?.then((widgets) =>
|
||||||
{
|
{
|
||||||
let invalid_widgets = widgets.filter((widget) => widget);
|
let invalid_widgets = widgets.filter((widget) => widget);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user