[MNT-22606] Add properties viewer as form widget (#7278)

* [MNT-22606] Add properties viewer as form widget

* [MNT-22606] Add documentation and fix the params accessor

* [MNT-22606] Fix unit tests

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint
This commit is contained in:
Pablo Martinez Garcia
2021-10-06 18:12:14 +02:00
committed by GitHub
parent dc133643c9
commit 5a2d27393d
12 changed files with 445 additions and 10 deletions

View File

@@ -402,7 +402,7 @@ export class FormModel {
setNodeIdValueForViewersLinkedToUploadWidget(linkedUploadWidgetContentSelected: UploadWidgetContentLinkModel) {
const subscribedViewers = this.getFormFields().filter(field =>
field.type === FormFieldTypes.FILE_VIEWER && linkedUploadWidgetContentSelected.uploadWidgetId === field.params['uploadWidget']
linkedUploadWidgetContentSelected.uploadWidgetId === field.params['uploadWidget']
);
subscribedViewers.forEach(viewer => {