mirror of https://github.com/apache/nifi.git
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
This commit is contained in:
parent
e9577ded29
commit
729247976d
|
@ -24,7 +24,7 @@
|
|||
<mat-label>{{ searchableField.label }}</mat-label>
|
||||
<input matInput formControlName="value" type="text" />
|
||||
</mat-form-field>
|
||||
<div class="-mt-6 mb-4">
|
||||
<div class="-mt-4 mb-4">
|
||||
<mat-checkbox color="primary" formControlName="inverse" name="inverse"> Exclude</mat-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue