[feat] - add authen and display transaction data
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
<form #ngf="ngForm" (ngSubmit)="onSubmit(ngf)">
|
||||
<div class="auth-card-body">
|
||||
<mat-form-field>
|
||||
<input matInput type="text" name="loginname" [(ngModel)]="dataForm.loginname" #loginname="ngModel"
|
||||
<input matInput type="text" name="loginname" [(ngModel)]="cathayForm.userName" #loginname="ngModel"
|
||||
placeholder="Username" required>
|
||||
<i matSuffix class="bi bi-person-circle"></i>
|
||||
<mat-error *ngIf="isFieldValid(ngf, loginname)">กรุณากรอกข้อมูล</mat-error>
|
||||
</mat-form-field>
|
||||
<div style="height: 10px;"></div>
|
||||
<mat-form-field>
|
||||
<input matInput type="password" name="password" [(ngModel)]="dataForm.password"
|
||||
<input matInput type="password" name="password" [(ngModel)]="cathayForm.password"
|
||||
#password="ngModel" placeholder="Password" required>
|
||||
<i matSuffix class="bi bi-key"></i>
|
||||
<mat-error *ngIf="isFieldValid(ngf, password)">กรุณากรอกข้อมูล</mat-error>
|
||||
@@ -34,4 +34,4 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user