added fixes for input

This commit is contained in:
piratefinn 2018-03-06 15:19:35 +00:00
parent 6e9f4133d2
commit 450b63620f
2 changed files with 3 additions and 4 deletions

View file

@ -65,10 +65,6 @@
<input value="monthly" type="radio" name="monthly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()"> <input value="monthly" type="radio" name="monthly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">
<label>Monthly</label> <label>Monthly</label>
</div> </div>
<div>
<input value="monthly" type="radio" name="monthly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">
<label>Monthly</label>
</div>
<div> <div>
<input value="quarterly" type="radio" name="quarterly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()"> <input value="quarterly" type="radio" name="quarterly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">
<label>Quarterly</label> <label>Quarterly</label>

View file

@ -273,6 +273,9 @@ export class AddDataComponent implements OnInit {
this.amount = null; this.amount = null;
this.transactionFormInvalid = true; this.transactionFormInvalid = true;
this.showAddStore = false; this.showAddStore = false;
this.essentialPurchase = false;
this.recurringPurchase = false;
this.recurringType = null;
} }
onSubmitPayroll() { onSubmitPayroll() {