@c10t/nice-component-library 0.0.20-b → 0.0.20-c
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.
|
@@ -4532,6 +4532,8 @@ class CvaLiveSearchingComponent {
|
|
|
4532
4532
|
writeValue(obj) {
|
|
4533
4533
|
if (!obj || typeof obj !== 'string') {
|
|
4534
4534
|
this.selected = {};
|
|
4535
|
+
this.filteredOptions.length = 0;
|
|
4536
|
+
this.filteredOptions = [];
|
|
4535
4537
|
this.textControl.setValue('', { emitEvent: false });
|
|
4536
4538
|
this.updateRowOrFormGroup();
|
|
4537
4539
|
return;
|