iptdevs-design-system 3.1.232 → 3.1.234
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/logic/cod-form-controls.mjs +2 -2
- package/esm2020/lib/cod/steps/cod-form-step-five/cod-form-step-five.component.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2559,7 +2559,7 @@ class CodFormControls {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
// Cambiar los valores de los controls, ejemplo: true y false del checkbox
|
|
2561
2561
|
changeValue(step, controlName, newValue) {
|
|
2562
|
-
const controls =
|
|
2562
|
+
const controls = [...this.controls];
|
|
2563
2563
|
let control = controls[step - 1].filter(element => element.name === controlName);
|
|
2564
2564
|
control[0].required = newValue;
|
|
2565
2565
|
this.$controls.next(controls);
|
|
@@ -4444,7 +4444,7 @@ class CodFormStepFiveComponent extends CodFormSteps {
|
|
|
4444
4444
|
this.isEditCod ? this.sendFormMsg = 'Editar COD' : this.sendFormMsg = 'Crear COD';
|
|
4445
4445
|
if (changes['initialData']) {
|
|
4446
4446
|
if (this.initialData != null) {
|
|
4447
|
-
if (this.initialData.student != null) {
|
|
4447
|
+
if (this.initialData.student != null || this.initialData != null) {
|
|
4448
4448
|
this.setDataFromPreviusCod();
|
|
4449
4449
|
}
|
|
4450
4450
|
else {
|