iptdevs-design-system 3.1.496 → 3.1.497
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 +3 -1
- package/fesm2015/iptdevs-design-system.mjs +2 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +2 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6394,9 +6394,11 @@ class CodSelfFormStepOneComponent extends CodSelfManagedSteps {
|
|
|
6394
6394
|
next: (change) => {
|
|
6395
6395
|
console.log("form onInit", change);
|
|
6396
6396
|
if (change === 15 || change === 16) {
|
|
6397
|
+
this.showAgreementSelect = true;
|
|
6397
6398
|
this.codSelfFormStepOne.controls['agreement_by_category'].setValidators([Validators.required]);
|
|
6398
6399
|
}
|
|
6399
6400
|
else {
|
|
6401
|
+
this.showAgreementSelect = false;
|
|
6400
6402
|
this.codSelfFormStepOne.controls['agreement_by_category'].clearValidators();
|
|
6401
6403
|
}
|
|
6402
6404
|
this.codSelfFormStepOne.controls['agreement_by_category'].updateValueAndValidity();
|