typescript

angular, html, typescript

why login not working after form submission ?

login.ts : `async onSubmit(): Promise {this.email = true;this.pwd = true;this.mailform = true;this.isLoginInProgress.set(true); this._authService .login(this.form.controls.email.value.trim(), this.form.controls.password.value.trim()) .pipe( catchError((error: HttpErrorResponse) => { […]

Scroll to Top