iptdevs-design-system 3.1.233 → 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.
|
@@ -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);
|