Skip to content

Commit

Permalink
input accept property bug fixed. v8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Vüqar Abdullayev committed Aug 8, 2019
1 parent 2363cb2 commit 7b9dbf5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 24 deletions.
31 changes: 8 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion projects/file-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-awesome-uploader",
"version": "8.0.0",
"version": "8.0.1",
"description": "Angular Library for uploading files with Real-Time Progress bar, File Preview, Drag && Drop and Custom Template",
"peerDependencies": {
"@angular/common": "^6.0.0 || ^7.0.0 || ^8.0.0",
Expand Down
1 change: 1 addition & 0 deletions projects/file-picker/src/lib/file-picker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ declare var Cropper;
[multiple]="uploadType === 'multi' ? 'multiple' : '' "
(click)="fileInput.value = null"
(change)="onChange(fileInput)"
[accept]="accept"
class="file-input"
>
Expand Down
1 change: 1 addition & 0 deletions src/app/demo-file-picker/demo-file-picker.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
[showeDragDropZone]="true"
[showPreviewContainer]="true"
[customValidator]="myCustomValidator"
[accept]="'image/*'"
(fileAdded)="onFileAdded($event)"
>
<!-- <div class="dropzoneTemplate">
Expand Down
3 changes: 3 additions & 0 deletions src/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"outDir": "../out-tsc/app",
"types": []
},
"angularCompilerOptions": {
"enableIvy": false
},
"exclude": [
"test.ts",
"**/*.spec.ts"
Expand Down

0 comments on commit 7b9dbf5

Please sign in to comment.