iptdevs-design-system 3.1.499 → 3.1.500
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-one/cod-self-form-step-one.component.mjs +4 -1
- package/fesm2015/iptdevs-design-system.mjs +3 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +3 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6400,6 +6400,7 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
|
|
|
6400
6400
|
this.showAgreementSelect = false;
|
|
6401
6401
|
console.log("false", this.showAgreementSelect);
|
|
6402
6402
|
this.codSelfFormStepOne.controls['agreement_by_category'].clearValidators();
|
|
6403
|
+
this.codSelfFormStepOne.controls['agreement_by_category'].setValue(null);
|
|
6403
6404
|
}
|
|
6404
6405
|
this.codSelfFormStepOne.controls['agreement_by_category'].updateValueAndValidity();
|
|
6405
6406
|
console.log("suscribeChangesGrade", this.showAgreementSelect);
|
|
@@ -6554,11 +6555,13 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
|
|
|
6554
6555
|
else {
|
|
6555
6556
|
// Si no es 15 ni 16, ocultar el otro ipt-select
|
|
6556
6557
|
this.showAgreementSelect = false;
|
|
6558
|
+
this.codSelfFormStepOne.controls['agreement_by_category'].setValue(null);
|
|
6557
6559
|
}
|
|
6558
6560
|
}
|
|
6559
6561
|
else {
|
|
6560
6562
|
// Reiniciar el valor del select y ocultar el otro ipt-select
|
|
6561
6563
|
this.codSelfFormStepOne.controls['grade'].setValue(null);
|
|
6564
|
+
this.codSelfFormStepOne.controls['agreement_by_category'].setValue(null);
|
|
6562
6565
|
this.showAgreementSelect = false;
|
|
6563
6566
|
}
|
|
6564
6567
|
console.log("selectGrade", this.showAgreementSelect);
|