added fixes for input

This commit is contained in:
piratefinn 2018-03-06 15:19:35 +00:00
parent ddd0011ea2
commit 9b37fbbe26
2 changed files with 3 additions and 4 deletions

View file

@ -61,10 +61,6 @@
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<div>
<input value="monthly" type="radio" name="monthly" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">
<label>Monthly</label>
</div>
<div> <div>
<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>

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() {