From 8a6fe08c220d1925e0c2f4f8780e7c391749a0ee Mon Sep 17 00:00:00 2001 From: lotte Date: Wed, 22 Jan 2020 14:58:37 +0100 Subject: [PATCH] drag drop styling --- src/app/core/data/lookup-relation.service.ts | 1 - ...amic-form-control-container.component.html | 3 +- ...ynamic-form-control-container.component.ts | 2 +- .../ds-dynamic-form.component.html | 1 + ...sting-metadata-list-element.component.html | 6 +-- ...sting-metadata-list-element.component.scss | 3 ++ .../dynamic-form-array.component.html | 6 +-- .../dynamic-form-array.component.scss | 44 ++++++++++++++++++- .../dynamic-form-group.component.html | 2 - ...-lookup-relation-search-tab.component.html | 1 - src/app/shared/form/form.component.html | 2 +- .../form/section-form-operations.service.ts | 1 - 12 files changed, 54 insertions(+), 18 deletions(-) diff --git a/src/app/core/data/lookup-relation.service.ts b/src/app/core/data/lookup-relation.service.ts index 76823dbfe0..69ba7925af 100644 --- a/src/app/core/data/lookup-relation.service.ts +++ b/src/app/core/data/lookup-relation.service.ts @@ -51,7 +51,6 @@ export class LookupRelationService { if (setSearchConfig) { this.searchConfig = newConfig; } - console.log(newConfig); return this.searchService.search(newConfig).pipe( /* Make sure to only listen to the first x results, until loading is finished */ /* TODO: in Rxjs 6.4.0 and up, we can replace this with takeWhile(predicate, true) - see https://stackoverflow.com/a/44644237 */ diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.html b/src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.html index 70dbf2c6ca..70cdce24dd 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.html +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.html @@ -1,7 +1,6 @@ -
-
diff --git a/src/app/submission/sections/form/section-form-operations.service.ts b/src/app/submission/sections/form/section-form-operations.service.ts index 100d80afac..f7cf8f36dd 100644 --- a/src/app/submission/sections/form/section-form-operations.service.ts +++ b/src/app/submission/sections/form/section-form-operations.service.ts @@ -327,7 +327,6 @@ export class SectionFormOperationsService { this.operationsBuilder.remove(pathCombiner.getPath(path)); } } else if (hasValue(event.$event) && hasValue(event.$event.previousIndex)) { - console.log(event, path); this.operationsBuilder.move( pathCombiner.getPath(path), pathCombiner.getPath(segmentedPath + '/' + event.$event.previousIndex).path