@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.
@@ -3354,7 +3354,9 @@ let QueryBuilder = class QueryBuilder extends Component {
3354
3354
  const isTemplate = (typeof itemData.template === 'string');
3355
3355
  if (rule.value && !isNullOrUndefined(format)) {
3356
3356
  selVal = (length > 1) ? rule.value[i] : rule.value;
3357
- selectedValue = this.parseDate(selVal, format) || new Date();
3357
+ if (selVal) {
3358
+ selectedValue = this.parseDate(selVal, format) || new Date();
3359
+ }
3358
3360
  }
3359
3361
  if (!isNullOrUndefined(itemData) && itemData.value && !isTemplate) {
3360
3362
  const parsedDate = this.parseDate(itemData.value.toString(), itemData.format);