@syncfusion/ej2-querybuilder 33.2.4 → 33.2.5

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.
@@ -3424,7 +3424,9 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3424
3424
  var isTemplate = (typeof itemData.template === 'string');
3425
3425
  if (rule.value && !isNullOrUndefined(format)) {
3426
3426
  selVal = (length_1 > 1) ? rule.value[i] : rule.value;
3427
- selectedValue = this.parseDate(selVal, format) || new Date();
3427
+ if (selVal) {
3428
+ selectedValue = this.parseDate(selVal, format) || new Date();
3429
+ }
3428
3430
  }
3429
3431
  if (!isNullOrUndefined(itemData) && itemData.value && !isTemplate) {
3430
3432
  var parsedDate = this.parseDate(itemData.value.toString(), itemData.format);