@coolon/angular-ui-powerups 14.5.1 → 14.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +6 -3
- package/fesm2015/coolon-angular-ui-powerups.mjs +5 -2
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +5 -2
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1891,14 +1891,17 @@ class AutocompleteInputComponent extends AbstractValueInputComponent {
|
|
|
1891
1891
|
const filter$ = chain(this.filterValue).map(v => this.filterFactory(v), { allowNil: true });
|
|
1892
1892
|
this.filteredOptions = chain(this.optionsModel)
|
|
1893
1893
|
.select(option => !this.autoFilter || filter$.value(option), { dependsOn: filter$ });
|
|
1894
|
+
}
|
|
1895
|
+
ngOnInit() {
|
|
1896
|
+
}
|
|
1897
|
+
ngAfterViewInit() {
|
|
1898
|
+
const { when } = Dsl.disposeWith(this);
|
|
1894
1899
|
when(this.rawTextContent$).changes(content => {
|
|
1895
1900
|
this.matInputComponent.value = content;
|
|
1896
1901
|
}, {
|
|
1897
1902
|
unless: this.inSearchUpdate$
|
|
1898
1903
|
});
|
|
1899
1904
|
}
|
|
1900
|
-
ngOnInit() {
|
|
1901
|
-
}
|
|
1902
1905
|
formatOption(option) {
|
|
1903
1906
|
return this.optionLabelFormat(option);
|
|
1904
1907
|
}
|