@ethlete/cdk 5.0.0-next.52 → 5.0.0-next.53
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/CHANGELOG.md
CHANGED
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -20625,8 +20625,12 @@ var ComboboxDirective = class ComboboxDirective {
|
|
|
20625
20625
|
this._hasTypedSinceSelectionSync = false;
|
|
20626
20626
|
this._selectionModel.setSelectionFromValue$(this._input.value);
|
|
20627
20627
|
}
|
|
20628
|
+
_awaitsLabelOfValue() {
|
|
20629
|
+
const value = this._input.value;
|
|
20630
|
+
return !this._selectionModel.allowMultiple && value !== null && value !== void 0 && value !== "" && !Array.isArray(value);
|
|
20631
|
+
}
|
|
20628
20632
|
_initDispatchFilterChanges() {
|
|
20629
|
-
this._currentFilter$.pipe(skipWhile(() => this.filterInternal), debounceTime(300), distinctUntilChanged(), takeUntil(this._destroy$), tap((v) => this.filterChange.emit(v))).subscribe();
|
|
20633
|
+
this._currentFilter$.pipe(skipWhile(() => this.filterInternal), skipWhile((filter) => filter === "" && this._awaitsLabelOfValue()), debounceTime(300), distinctUntilChanged(), takeUntil(this._destroy$), tap((v) => this.filterChange.emit(v))).subscribe();
|
|
20630
20634
|
}
|
|
20631
20635
|
_closeBodyOnDisable() {
|
|
20632
20636
|
this._input.disabled$.pipe(tap((disabled) => {
|