Skip to content

Commit 3b4c373

Browse files
debugging: remove distinctUntilChanged and display fieldValue in options
1 parent d39e5f0 commit 3b4c373

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<mat-option
1515
[ngClass]="{'disabled': suggestion.displayString === 'No matches'}"
1616
[value]="suggestion.displayString">
17-
{{suggestion.displayString}}
17+
{{suggestion.displayString}} {{suggestion.fieldValue}}
1818
</mat-option>
1919
}
2020
</mat-autocomplete>

frontend/src/app/components/ui-components/row-fields/foreign-key/foreign-key.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export class ForeignKeyRowComponent extends BaseRowFieldComponent {
6060
) {
6161
super();
6262
this.autocmpleteUpdate.pipe(
63-
debounceTime(500),
64-
distinctUntilChanged())
63+
debounceTime(500))
6564
.subscribe(value => {
6665
if (this.currentDisplayedString === '') this.onFieldChange.emit(null);
6766
this.fetchSuggestions();

0 commit comments

Comments
 (0)