@firestitch/filter 12.0.2 → 12.0.3

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.
@@ -2134,7 +2134,15 @@
2134
2134
  item.model = values[item.name];
2135
2135
  }
2136
2136
  else {
2137
- item.clear();
2137
+ if (item instanceof RangeItem) {
2138
+ item.clearRange(null, item.defaultValue);
2139
+ }
2140
+ else if (item instanceof BaseDateRangeItem) {
2141
+ item.clearDateRange(null, item.defaultValue);
2142
+ }
2143
+ else {
2144
+ item.clear();
2145
+ }
2138
2146
  }
2139
2147
  });
2140
2148
  if (this.sortByItem) {