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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user