Browse Source

Merge pull request #9941 from vvlladd28/bug/validation-json-form

Fixed validation JSON form in custom widgets
pull/9961/head
Andrew Shvayka 3 years ago
committed by GitHub
parent
commit
320cedd621
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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