();
+
@ViewChild('documentList', { static: true })
documentList: DocumentListComponent;
@@ -406,6 +410,7 @@ export class ContentNodeSelectorPanelComponent implements OnInit, OnDestroy {
this.pagination.maxItems = this.pageSize;
this.resetChosenNode();
this.showingSearchResults = false;
+ this.showingSearch.emit(this.showingSearchResults);
}
/**
@@ -464,6 +469,7 @@ export class ContentNodeSelectorPanelComponent implements OnInit, OnDestroy {
private showSearchResults(nodePaging: NodePaging): void {
this.showingSearchResults = true;
this.loadingSearchResults = false;
+ this.showingSearch.emit(this.showingSearchResults);
this.nodePaging = nodePaging;
}
diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.html b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.html
index 2cf8c7fbd3..be08f37312 100644
--- a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.html
+++ b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.html
@@ -21,6 +21,7 @@
[showDropdownSiteList]="data?.showDropdownSiteList"
[showFilesInResult]="data?.showFilesInResult"
(select)="onSelect($event)"
+ (showingSearch)="onShowingSearch($event)"
(siteChange)="onSiteChange($event)"
(navigationChange)="onNavigationChange($event)">
@@ -33,8 +34,15 @@
[staticTitle]="'FORM.FIELD.UPLOAD' | translate "
[multipleFiles]="isMultipleSelection()"
[rootFolderId]="currentDirectoryId"
+ [disabled]="disableUploadButton"
(error)="onError($event)">
+
+
+ warning
+ {{ 'NODE_SELECTOR.UPLOAD_BUTTON_WARNING_MESSAGE' | translate }}
+
+