osl-base-extended 1.1.51 → 1.1.52
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.
|
@@ -2328,7 +2328,9 @@ class OslSearchbar {
|
|
|
2328
2328
|
searchControl = new FormControl('');
|
|
2329
2329
|
ngOnInit() {
|
|
2330
2330
|
this.searchControl.valueChanges.pipe(debounceTime$1(300), distinctUntilChanged$1()).subscribe(value => {
|
|
2331
|
-
|
|
2331
|
+
if (value) {
|
|
2332
|
+
this.onSearch.emit(value);
|
|
2333
|
+
}
|
|
2332
2334
|
});
|
|
2333
2335
|
}
|
|
2334
2336
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: OslSearchbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|