@indigina/ui-kit 1.1.338 → 1.1.339
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.
|
@@ -4399,7 +4399,7 @@ class KitDatepickerComponent {
|
|
|
4399
4399
|
this.onTouched();
|
|
4400
4400
|
}
|
|
4401
4401
|
writeValue(value) {
|
|
4402
|
-
const date = value
|
|
4402
|
+
const date = value ? new Date(value) : undefined;
|
|
4403
4403
|
this.defaultDate.set(date);
|
|
4404
4404
|
}
|
|
4405
4405
|
registerOnChange(fn) {
|