@klippa/ngx-enhancy-forms 9.4.0 → 9.4.1
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.
- package/bundles/klippa-ngx-enhancy-forms.umd.js +4 -4
- package/bundles/klippa-ngx-enhancy-forms.umd.js.map +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js.map +1 -1
- package/esm2015/lib/elements/date-picker/date-picker.component.js +5 -5
- package/fesm2015/klippa-ngx-enhancy-forms.js +4 -4
- package/fesm2015/klippa-ngx-enhancy-forms.js.map +1 -1
- package/package.json +1 -1
|
@@ -1414,8 +1414,8 @@
|
|
|
1414
1414
|
_super.prototype.writeValue.call(this, invalidDateKey);
|
|
1415
1415
|
}
|
|
1416
1416
|
else if (isNullOrUndefined(value)) {
|
|
1417
|
-
this.dateValue = null;
|
|
1418
|
-
_super.prototype.writeValue.call(this, null);
|
|
1417
|
+
this.dateValue = this.multiple ? [] : null;
|
|
1418
|
+
_super.prototype.writeValue.call(this, this.multiple ? [] : null);
|
|
1419
1419
|
}
|
|
1420
1420
|
else {
|
|
1421
1421
|
if (Array.isArray(value)) {
|
|
@@ -1432,8 +1432,8 @@
|
|
|
1432
1432
|
this.setInnerValueAndNotify(invalidDateKey);
|
|
1433
1433
|
}
|
|
1434
1434
|
else if (isNullOrUndefined(value)) {
|
|
1435
|
-
this.dateValue = null;
|
|
1436
|
-
this.setInnerValueAndNotify(null);
|
|
1435
|
+
this.dateValue = this.multiple ? [] : null;
|
|
1436
|
+
this.setInnerValueAndNotify(this.multiple ? [] : null);
|
|
1437
1437
|
}
|
|
1438
1438
|
else {
|
|
1439
1439
|
this.dateValue = value;
|