Browse Source

UI: Fixed validation JSON form in custom widgets

pull/9941/head
Vladyslav_Prykhodko 2 years ago
parent
commit
5d63115ef4
  1. 2
      ui-ngx/src/app/modules/home/components/widget/config/widget-settings.component.ts

2
ui-ngx/src/app/modules/home/components/widget/config/widget-settings.component.ts

@ -246,7 +246,7 @@ export class WidgetSettingsComponent implements ControlValueAccessor, OnInit, On
};
}
} else if (this.useJsonForm()) {
if (!this.widgetSettingsFormGroup.valid) {
if (!this.widgetSettingsFormGroup.get('settings').valid) {
return {
widgetSettings: {
valid: false

Loading…
Cancel
Save