[PM-10026] [Defect] Zip code is not being enforced when subscribing in Password Manager (#10446)
* resolve the postal code error * Resolve the issue if licence is uploaded * resolve the postal code issue on selfhost
This commit is contained in:
parent
0b5afa6252
commit
cd7aaacfd9
|
@ -65,9 +65,11 @@ export class PremiumComponent implements OnInit {
|
|||
}
|
||||
}
|
||||
submit = async () => {
|
||||
if (!this.taxInfoComponent?.taxFormGroup.valid && this.taxInfoComponent?.taxFormGroup.touched) {
|
||||
this.taxInfoComponent.taxFormGroup.markAllAsTouched();
|
||||
return;
|
||||
if (this.taxInfoComponent) {
|
||||
if (!this.taxInfoComponent?.taxFormGroup.valid) {
|
||||
this.taxInfoComponent.taxFormGroup.markAllAsTouched();
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.licenseForm.markAllAsTouched();
|
||||
this.addonForm.markAllAsTouched();
|
||||
|
|
|
@ -554,9 +554,11 @@ export class OrganizationPlansComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
submit = async () => {
|
||||
if (!this.taxComponent?.taxFormGroup.valid && this.taxComponent?.taxFormGroup.touched) {
|
||||
this.taxComponent?.taxFormGroup.markAllAsTouched();
|
||||
return;
|
||||
if (this.taxComponent) {
|
||||
if (!this.taxComponent?.taxFormGroup.valid) {
|
||||
this.taxComponent?.taxFormGroup.markAllAsTouched();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.singleOrgPolicyBlock) {
|
||||
|
|
Loading…
Reference in New Issue