intelica-library-ui 0.1.173 → 0.1.174
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.
|
@@ -3602,6 +3602,9 @@ class FiltersComponent {
|
|
|
3602
3602
|
filter.value === "") &&
|
|
3603
3603
|
filter.defaultValue != null) {
|
|
3604
3604
|
filter.value = filter.defaultValue;
|
|
3605
|
+
if (filter.type === FilterTypeEnum.Select) {
|
|
3606
|
+
filter.value = null;
|
|
3607
|
+
}
|
|
3605
3608
|
this.toggleChildrenVisibility(filter);
|
|
3606
3609
|
}
|
|
3607
3610
|
});
|
|
@@ -3689,6 +3692,9 @@ class FiltersComponent {
|
|
|
3689
3692
|
break;
|
|
3690
3693
|
}
|
|
3691
3694
|
}
|
|
3695
|
+
if (filter.type === FilterTypeEnum.Select) {
|
|
3696
|
+
filter.value = null;
|
|
3697
|
+
}
|
|
3692
3698
|
// Si es padre, limpiar hijos
|
|
3693
3699
|
if (!filter.parent) {
|
|
3694
3700
|
const children = this.filterDirectives.filter((f) => f.parent === filter.name);
|