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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|