iptdevs-design-system 3.1.507 → 3.1.508
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/esm2020/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.mjs +9 -4
- package/fesm2015/iptdevs-design-system.mjs +8 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +8 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/cod-self-managed/steps/cod-form-step-two/cod-self-form-step-two.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6710,9 +6710,14 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
|
|
|
6710
6710
|
}
|
|
6711
6711
|
}
|
|
6712
6712
|
onDateChange(event) {
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6713
|
+
if (event instanceof Date) {
|
|
6714
|
+
// Convierte la fecha a una cadena ISO 8601 y guárdala en el localStorage
|
|
6715
|
+
localStorage.setItem('COD SELF - step2(schedule)', event.toISOString());
|
|
6716
|
+
console.log(event);
|
|
6717
|
+
}
|
|
6718
|
+
else {
|
|
6719
|
+
console.error('Error: El evento no es una instancia de Date.');
|
|
6720
|
+
}
|
|
6716
6721
|
}
|
|
6717
6722
|
onReject() {
|
|
6718
6723
|
this.messageService.clear('confirm');
|