iptdevs-design-system 3.1.521 → 3.1.522

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.
@@ -6677,14 +6677,16 @@ class CodSelfFormStepTwoComponent extends CodSelfManagedSteps {
6677
6677
  // Si no hay un valor en el localStorage, o si es null o vacío, establece un valor predeterminado
6678
6678
  this.codSelfFormStepTwo.controls['schedule'].setValue(new Date());
6679
6679
  }
6680
- if (courseModality && courseModality.trim() != '') {
6681
- // Si hay un valor en el localStorage, establece el valor del FormControl
6682
- this.codSelfFormStepTwo.controls['modality'].setValue(courseModality);
6683
- }
6684
- else {
6685
- // Si no hay un valor en el localStorage, o si es null o vacío, establece un valor predeterminado
6686
- this.codSelfFormStepTwo.controls['modality'].setValue(null);
6687
- }
6680
+ // if (courseModality && courseModality.trim() != '') {
6681
+ // // Si hay un valor en el localStorage, establece el valor del FormControl
6682
+ // this.codSelfFormStepTwo.controls['modality'].setValue(courseModality);
6683
+ // } else {
6684
+ // // Si no hay un valor en el localStorage, o si es null o vacío, establece un valor predeterminado
6685
+ // this.codSelfFormStepTwo.controls['modality'].setValue(null);
6686
+ // }
6687
+ this.codSelfFormStepTwo.patchValue({
6688
+ modality: courseModality
6689
+ });
6688
6690
  }
6689
6691
  back() {
6690
6692
  // Movernos al paso anterior