Rob Dixon has been working in the Quality field since 1985. Rob began their career as a Quality Engineer at Tektronix, Inc. In 1995, they became a CQE and Senior member of ASQ. In 2005, they joined RadiSys Corporation as a Staff Reliability Engineer. In 2010, they moved to Azuray Technologies as a Product Assurance Group Leader and Senior Reliability Engineer. In 2012, they joined PCC Structurals, Inc. as a Senior Quality Engineer. In 2020, they moved to Sonetics Corp. as a Quality Engineer. Most recently, they are the Quality Manager at Sonetics.
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { AuthService } from 'src/app/service/auth.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent implements OnInit {
loginForm: FormGroup;
isSubmitted = false;
constructor(private authService: AuthService, private router: Router, private formBuilder: FormBuilder) { }
ngOnInit() {
this.loginForm = this.formBuilder.group({
username: ['', Validators.required],
password: ['', Validators.required]
});
}
get formControls() { return this.loginForm.controls; }
login() {
this.isSubmitted = true;
if (this.loginForm.invalid) {
return;
}
this.authService.login(this.loginForm.value);
this.router.navigateByUrl('/home');
}
}
Sign up to view 0 direct reports
Get started
This person is not in any teams