1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

Fix input errors on provider setup (#14799)

This commit is contained in:
Alex Morask
2025-05-16 14:47:42 -04:00
committed by GitHub
parent b4b452f5d1
commit d2cce5b997
4 changed files with 33 additions and 9 deletions

View File

@@ -101,6 +101,15 @@ export class PaymentComponent implements OnInit, OnDestroy {
this.submitted.emit(type);
};
validate = () => {
if (!this.usingBankAccount) {
return true;
}
this.formGroup.controls.bankInformation.markAllAsTouched();
return this.formGroup.controls.bankInformation.valid;
};
/**
* Tokenize the payment method information entered by the user against one of our payment providers.
*