iptdevs-design-system 3.1.268 → 3.1.270
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 +6 -2
- package/fesm2015/iptdevs-design-system.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +5 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3426,6 +3426,8 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3426
3426
|
this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.phone_number);
|
|
3427
3427
|
this.codFormStepTwo.controls['birthdate'].setValue(this.initialData.birthdate);
|
|
3428
3428
|
this.codFormStepTwo.controls['student_email'].setValue(this.initialData.email);
|
|
3429
|
+
this.codFormStepTwo.controls['password'].setValue(this.initialData.id_card);
|
|
3430
|
+
this.codFormStepTwo.controls['re_password'].setValue(this.initialData.id_card);
|
|
3429
3431
|
}
|
|
3430
3432
|
setDataFromPreviusCod() {
|
|
3431
3433
|
this.codFormStepTwo.controls['student_name'].setValue(this.initialData.student.name);
|
|
@@ -3446,6 +3448,8 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3446
3448
|
this.codFormStepTwo.controls['student_phone_number'].setValue(this.initialData.student.phone_number);
|
|
3447
3449
|
this.codFormStepTwo.controls['birthdate'].setValue(this.initialData.student.birthdate);
|
|
3448
3450
|
this.codFormStepTwo.controls['student_email'].setValue(this.initialData.student.email);
|
|
3451
|
+
this.codFormStepTwo.controls['password'].setValue(this.initialData.student.id_card);
|
|
3452
|
+
this.codFormStepTwo.controls['re_password'].setValue(this.initialData.student.id_card);
|
|
3449
3453
|
}
|
|
3450
3454
|
cleanComponent() {
|
|
3451
3455
|
this.resetLocalStorage(this.controls);
|
|
@@ -3488,7 +3492,7 @@ class CodFormStepTwoComponent extends CodFormSteps {
|
|
|
3488
3492
|
state: ['', [Validators.required], []],
|
|
3489
3493
|
city: ['', [Validators.required], []],
|
|
3490
3494
|
student_id_card_type: ['', [Validators.required], []],
|
|
3491
|
-
student_id_card: ['', [Validators.required, Validators.minLength(5), Validators.maxLength(20)]],
|
|
3495
|
+
student_id_card: [{ value: '', disabled: true }, [Validators.required, Validators.minLength(5), Validators.maxLength(20)]],
|
|
3492
3496
|
student_last_name: ['', [Validators.required, Validators.minLength(5), Validators.maxLength(32)]],
|
|
3493
3497
|
student_name: ['', [Validators.required, Validators.minLength(3), Validators.maxLength(32)]],
|
|
3494
3498
|
student_email: ['', [Validators.required, Validators.email]],
|