chrv-components 1.11.92 → 1.11.94
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.
|
Binary file
|
|
@@ -1080,7 +1080,6 @@ class ChrBaseInputComponent {
|
|
|
1080
1080
|
this.inputSubject
|
|
1081
1081
|
.pipe(debounceTime(this.debounceTime() ?? 200), distinctUntilChanged())
|
|
1082
1082
|
.subscribe((res) => {
|
|
1083
|
-
console.log('Input event emitted with value:', res);
|
|
1084
1083
|
this.input.emit(res);
|
|
1085
1084
|
});
|
|
1086
1085
|
};
|
|
@@ -1359,9 +1358,9 @@ class ChrSearchSelectComponent extends ChrBaseInputComponent {
|
|
|
1359
1358
|
// We need to avoid setting it when the value is set to null because it would
|
|
1360
1359
|
// Remove the user's input a few milliseconds after he starts typing to replace a value
|
|
1361
1360
|
this.displayValueSubject.subscribe((v) => {
|
|
1362
|
-
if (v !== null && v !== undefined) {
|
|
1363
|
-
|
|
1364
|
-
}
|
|
1361
|
+
//if (v !== null && v !== undefined) {
|
|
1362
|
+
this.displayValue.set(v);
|
|
1363
|
+
//}
|
|
1365
1364
|
});
|
|
1366
1365
|
// Value subject is not initially called with the default value or the set value of the formcontrol
|
|
1367
1366
|
// this.displayValue.set(this.value());
|