Apply filter in the file uploads
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<div class="container mat-typography" style="padding-bottom: 20px;">
|
||||
<div class="container mat-typography">
|
||||
|
||||
<div class="mat-elevation-z2 surveyCont">
|
||||
|
||||
<div class="surveySelect" fxLayout="row">
|
||||
|
||||
<mat-label class="nameLabel">Survey Name</mat-label>
|
||||
<mat-select class="surveyOption" (selectionChange)="onSurveyChange($event)">
|
||||
<mat-select (selectionChange)="onSurveyChange($event)">
|
||||
<mat-option *ngFor="let surveyData of allSurveyData" [value]="surveyData">
|
||||
{{surveyData.name}}
|
||||
</mat-option>
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<button mat-raised-button class="button-cancel" color="danger" [routerLink]="['../']">Cancel</button>
|
||||
<button mat-raised-button class="button-cancel" color="danger" [routerLink]="['../../general']">Cancel</button>
|
||||
<button mat-raised-button class="button-submit" color="primary" (click)=submit()>Submit</button>
|
||||
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@
|
||||
|
||||
<div>
|
||||
|
||||
<mifosx-file-upload flex="60%" (change)="onFileSelect($event)"></mifosx-file-upload>
|
||||
<mifosx-file-upload flex="60%" (change)="onFileSelect($event)" acceptFilter=".png,.jpeg,.jpg"></mifosx-file-upload>
|
||||
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-raised-button mat-dialog-close>Cancel</button>
|
||||
<button mat-raised-button color="primary" [disabled]="!image" [mat-dialog-close]="image">Confirm</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -2,11 +2,11 @@
|
||||
|
||||
<div>
|
||||
|
||||
<mifosx-file-upload flex="60%" (change)="onFileSelect($event)"></mifosx-file-upload>
|
||||
<mifosx-file-upload flex="60%" (change)="onFileSelect($event)" acceptFilter=".png,.jpeg,.jpg"></mifosx-file-upload>
|
||||
|
||||
<mat-dialog-actions align="end">
|
||||
<button mat-raised-button mat-dialog-close>Cancel</button>
|
||||
<button mat-raised-button color="primary" [disabled]="!signature" [mat-dialog-close]="signature">Confirm</button>
|
||||
</mat-dialog-actions>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user