iptdevs-design-system 3.1.813 → 3.1.814
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/steps/cod-form-step-two/cod-form-step-two.component.mjs +1 -4
- package/fesm2015/iptdevs-design-system.mjs +0 -3
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +0 -3
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3970,7 +3970,6 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3970
3970
|
}
|
|
3971
3971
|
initForm() {
|
|
3972
3972
|
const currentDate = new Date().toISOString().split('T')[0];
|
|
3973
|
-
console.log('Fecha actual primer clg:', currentDate);
|
|
3974
3973
|
this.codFormStepTwo = this.fb.group({
|
|
3975
3974
|
student_address: ['', [Validators.required], []],
|
|
3976
3975
|
birthdate: [currentDate, [Validators.required], []],
|
|
@@ -3994,11 +3993,9 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3994
3993
|
password: [{ value: '', disabled: this.isEditCod }, [Validators.required, Validators.minLength(6)]],
|
|
3995
3994
|
re_password: [{ value: '', disabled: this.isEditCod }, [Validators.required, Validators.minLength(6)]],
|
|
3996
3995
|
});
|
|
3997
|
-
console.log('Valor de birthdate en el formulario: segundo clg', this.codFormStepTwo.controls['birthdate'].value);
|
|
3998
3996
|
this.codFormStepTwo.patchValue({
|
|
3999
3997
|
birthdate: currentDate
|
|
4000
3998
|
});
|
|
4001
|
-
console.log('Valor de birthdate en el formulario: tercero clg', this.codFormStepTwo.controls['birthdate'].value);
|
|
4002
3999
|
// Calcular edad y setear valor
|
|
4003
4000
|
this.codFormStepTwo.controls['birthdate'].valueChanges.subscribe({
|
|
4004
4001
|
next: (change) => {
|