Browse Source
Merge pull request #9729 from Dmitriymush/bug-fix/update-multiple-attributes
Fixed JSON type attribute in multiple input widget
pull/9782/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/multiple-input-widget.component.ts
|
|
|
@ -783,10 +783,10 @@ export class MultipleInputWidgetComponent extends PageComponent implements OnIni |
|
|
|
} |
|
|
|
}).afterClosed().subscribe( |
|
|
|
(res) => { |
|
|
|
if (!isEqual(res, formControl.value)) { |
|
|
|
if (isDefined(res) && !isEqual(res, formControl.value)) { |
|
|
|
formControl.patchValue(res); |
|
|
|
formControl.markAsDirty(); |
|
|
|
if(!this.settings.showActionButtons) { |
|
|
|
if (!this.settings.showActionButtons) { |
|
|
|
this.inputChanged(source, key); |
|
|
|
} |
|
|
|
} |
|
|
|
|