iptdevs-design-system 3.1.521 → 3.1.523
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 +11 -2
- package/fesm2015/iptdevs-design-system.mjs +10 -1
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6679,12 +6679,21 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
|
|
|
6679
6679
|
}
|
|
6680
6680
|
if (courseModality && courseModality.trim() != '') {
|
|
6681
6681
|
// Si hay un valor en el localStorage, establece el valor del FormControl
|
|
6682
|
-
this.codSelfFormStepTwo.controls['modality'].setValue(courseModality);
|
|
6682
|
+
// this.codSelfFormStepTwo.controls['modality'].setValue(courseModality);
|
|
6683
|
+
if (courseModality == "1") {
|
|
6684
|
+
this.codSelfFormStepTwo.controls['modality'].setValue(this.stateOptions[0]);
|
|
6685
|
+
}
|
|
6686
|
+
else {
|
|
6687
|
+
this.codSelfFormStepTwo.controls['modality'].setValue(this.stateOptions[1]);
|
|
6688
|
+
}
|
|
6683
6689
|
}
|
|
6684
6690
|
else {
|
|
6685
6691
|
// Si no hay un valor en el localStorage, o si es null o vacío, establece un valor predeterminado
|
|
6686
6692
|
this.codSelfFormStepTwo.controls['modality'].setValue(null);
|
|
6687
6693
|
}
|
|
6694
|
+
// this.codSelfFormStepTwo.patchValue({
|
|
6695
|
+
// modality: courseModality
|
|
6696
|
+
// })
|
|
6688
6697
|
}
|
|
6689
6698
|
back() {
|
|
6690
6699
|
// Movernos al paso anterior
|