From 729247976daf2afe0d059b6373e725f0c86b7766 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Fri, 20 Sep 2024 15:42:10 -0400 Subject: [PATCH] NIFI-13766: Fixed spacing of checkboxes in Prov Search Dialog. (#9284) NIFI-13774: Accessed form controls using array notation in case the search field contains a dot. This closes #9284 --- .../provenance-search-dialog.component.html | 2 +- .../provenance-search-dialog.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html index 6837b0834e..138f7c333a 100644 --- a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html +++ b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.html @@ -24,7 +24,7 @@ {{ searchableField.label }} -
+
Exclude
diff --git a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.ts b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.ts index 6d614f1604..21da7f6fac 100644 --- a/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.ts +++ b/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/provenance/ui/provenance-event-listing/provenance-search-dialog/provenance-search-dialog.component.ts @@ -242,7 +242,7 @@ export class ProvenanceSearchDialog extends CloseOnEscapeDialog { const searchableFields: SearchableField[] = this.request.options.searchableFields; searchableFields.forEach((searchableField) => { // @ts-ignore - const searchableFieldForm: FormGroup = this.provenanceOptionsForm.get(searchableField.id); + const searchableFieldForm: FormGroup = this.provenanceOptionsForm.get([searchableField.id]); if (searchableFieldForm) { const searchableFieldValue: string = searchableFieldForm.get('value')?.value; if (searchableFieldValue) {