Skip to content

Commit f51fd92

Browse files
committed
[NAE-1744] Public view does not work delete file
- format
1 parent c704bdb commit f51fd92

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

projects/netgrif-components-core/src/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/abstract-enumeration-autocomplete-select-field.component.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export abstract class AbstractEnumerationAutocompleteSelectFieldComponent implem
2525
}
2626

2727
ngOnInit() {
28-
this.tmpValue = this.formControlRef.value??'';
28+
this.tmpValue = this.formControlRef.value ?? '';
2929
this.filteredOptions = this.formControlRef.valueChanges.pipe(
3030
startWith(''),
3131
map(value => this._filter(value))
@@ -35,11 +35,9 @@ export abstract class AbstractEnumerationAutocompleteSelectFieldComponent implem
3535
this.text.control.markAsTouched();
3636
}
3737
});
38-
this.formControlRef.valueChanges.subscribe(
39-
it => {
40-
this.tmpValue = it??'';
41-
}
42-
)
38+
this.formControlRef.valueChanges.subscribe(it => {
39+
this.tmpValue = it ?? '';
40+
});
4341
}
4442

4543
ngOnDestroy(): void {
@@ -64,7 +62,7 @@ export abstract class AbstractEnumerationAutocompleteSelectFieldComponent implem
6462
}
6563
}
6664

67-
select(event: MatAutocompleteSelectedEvent){
65+
select(event: MatAutocompleteSelectedEvent) {
6866
this.formControlRef.setValue(event.option.value);
6967
}
7068

0 commit comments

Comments
 (0)