we use NGPrime
version 5.2.7.
When u click on Attach button, it call p-fileUpload component and it crach whole browser.
Need some help here.
-----------
EXAMPLE
<div class="parent">
<div *ngIf="isUILocked" id="cover-spin"></div>
<p-fileUpload name="demo[]" url="{{getTargetURL()}}" (onBeforeUpload)="onBeforeUpload($event)"
(onUpload)="onUpload($event)" accept="{{filesAllowed}}" maxFileSize="10485760" auto="auto"
[chooseLabel]="'Attach' | gLi18n" invalidFileSizeMessageSummary="" invalidFileTypeMessageDetail="">
<ng-template pTemplate="content">
<div *ngIf="!uploadedFiles.length" style="color:#808080" gLi18n>Drop attachments here</div>
<ul *ngIf="uploadedFiles.length">
<li *ngFor="let file of uploadedFiles">{{file.name}} - {{file.size/1000}} KB <button pButton
(click)="deleteAttachment(file)" icon="fa-times"></button></li>
</ul>
</ng-template>
</p-fileUpload>
</div>
------------------
Package.json
{
"name": "chat",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
"scripts": {
"start": "ng serve",
"devbuild": "ng build -w",
"build": "ng build -prod -aot & ncp ./dist/index.aspx ./dist/comIndex.aspx & node makeCom2Index.js",
"lint": "tslint \"src/**/*.ts\"",
"test": "ng test",
"pree2e": "webdriver-manager update",
"e2e": "protractor"
},
"private": true,
"dependencies": {
"@angular/animations": "5.2.10",
"@angular/common": "5.2.10",
"@angular/compiler": "5.2.10",
"@angular/core": "5.2.10",
"@angular/forms": "5.2.10",
"@angular/http": "5.2.10",
"@angular/platform-browser": "5.2.10",
"@angular/platform-browser-dynamic": "5.2.10",
"@angular/router": "5.2.10",
"@fullcalendar/bootstrap": "4.2.0",
"@fullcalendar/core": "4.2.0",
"@fullcalendar/daygrid": "4.2.0",
"@fullcalendar/interaction": "4.2.0",
"@fullcalendar/list": "4.2.0",
"@fullcalendar/moment": "4.2.0",
"@fullcalendar/moment-timezone": "4.2.0",
"@fullcalendar/rrule": "4.2.0",
"@fullcalendar/timegrid": "4.2.0",
"@types/jquery": "^3.3.31",
"bootswatch": "^4.1.3",
"chart.js": "2.5.0",
"ckeditor": "^4.9.2",
"coa": "2.0.2",
"core-js": "2.4.1",
"date-fns": "^1.29.0",
"font-awesome": "4.7.0",
"jquery": "^3.4.1",
"moment": "^2.22.2",
"ms-signalr-client": "2.2.5",
"ng-emoji-picker": "^1.2.2",
"ng2-ckeditor": "1.1.8",
"primeng": "5.2.7",
"primeui": "4.1.15",
"quill": "1.2.3",
"roboto-fontface": "0.9.0",
"rrule": "^2.6.0",
"rxjs": "5.5.6",
"string-hash": "^1.1.3",
"zone.js": "0.8.4"
},
"devDependencies": {
"@angular/cli": "^1.7.4",
"@angular/compiler-cli": "5.2.10",
"@types/jasmine": "2.5.51",
"@types/node": "6.0.60",
"@types/q": "1.5.1",
"codelyzer": "2.0.1",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "2.7.0",
"karma": "1.3.0",
"karma-chrome-launcher": "2.0.0",
"karma-cli": "1.0.1",
"karma-jasmine": "1.0.2",
"karma-remap-istanbul": "0.2.1",
"ncp": "2.0.0",
"protractor": "5.1.0",
"replace-in-file": "4.1.3",
"ts-node": "1.7.0",
"tslint": "4.5.0",
"typescript": "^3.7.0",
"webdriver-manager": "10.2.8"
}
}
p-fileUpload crash chrome on mac os
UI Components for Angular
Jump to
- JavaServer Faces
- ↳ PrimeFaces
- ↳ Extensions
- Angular
- ↳ PrimeNG
- React
- ↳ PrimeReact
- Vue
- ↳ PrimeVue
- PrimeBlocks
- ↳ PrimeBlocks for PrimeNG
- ↳ PrimeBlocks for PrimeVue
- ↳ PrimeBlocks for PrimeReact
- ↳ PrimeBlocks for PrimeFaces
- Theme Designer
- ↳ PrimeFaces Theme Designer API
- ↳ PrimeNG Theme Designer API
- ↳ PrimeReact Theme Designer API
- ↳ PrimeVue Theme Designer API
- UI Kit
- ↳ Figma
- Add-Ons
- ↳ PrimeFlex
- ↳ PrimeIcons
- PrimeUI
- ↳ PrimeUI
- Misc
- ↳ Made with Prime
- ↳ Spanish
- Premium Layouts and Themes
- ↳ Freya
- ↳ Freya - PrimeFaces
- ↳ Freya - PrimeNG
- ↳ Freya - PrimeVue
- ↳ Freya - PrimeReact
- ↳ Rain
- ↳ Rain - PrimeFaces
- ↳ Diamond
- ↳ Diamond - PrimeFaces
- ↳ Diamond - PrimeNG
- ↳ Diamond - PrimeVue
- ↳ Diamond - PrimeReact
- ↳ Pandora
- ↳ Pandora - PrimeFaces
- ↳ Siberia
- ↳ Siberia - PrimeFaces
- ↳ Mirage
- ↳ Mirage - PrimeFaces
- ↳ Mirage - PrimeNG
- ↳ Prestige
- ↳ Prestige - PrimeFaces
- ↳ Prestige - PrimeNG
- ↳ Prestige - PrimeVue
- ↳ Sapphire
- ↳ Sapphire - PrimeFaces
- ↳ Sapphire - PrimeNG
- ↳ Sapphire - PrimeReact
- ↳ Sapphire - PrimeVue
- ↳ Roma
- ↳ Roma - PrimeFaces
- ↳ Roma - PrimeNG
- ↳ Roma - PrimeReact
- ↳ Roma - PrimeVue
- ↳ Babylon
- ↳ Babylon - PrimeFaces
- ↳ Babylon - PrimeNG
- ↳ Babylon - PrimeReact
- ↳ Babylon - PrimeVue
- ↳ Olympia
- ↳ Olympia - PrimeFaces
- ↳ Olympia - PrimeNG
- ↳ Ecuador
- ↳ Ecuador - PrimeFaces
- ↳ Ecuador - PrimeNG
- ↳ Harmony
- ↳ Harmony - PrimeFaces
- ↳ Harmony - PrimeNG
- ↳ California
- ↳ California - PrimeFaces
- ↳ California - PrimeNG
- ↳ Serenity
- ↳ Serenity - PrimeFaces
- ↳ Serenity - PrimeNG
- ↳ Serenity - PrimeReact
- ↳ Serenity - PrimeVue
- ↳ Avalon
- ↳ Avalon - PrimeFaces
- ↳ Avalon - PrimeNG
- ↳ Avalon - PrimeReact
- ↳ Avalon - PrimeVue
- ↳ Apollo
- ↳ Apollo - PrimeFaces
- ↳ Apollo - PrimeNG
- ↳ Apollo - PrimeReact
- ↳ Apollo - PrimeVue
- ↳ Manhattan
- ↳ Manhattan - PrimeFaces
- ↳ Manhattan - PrimeNG
- ↳ Paradise
- ↳ Paradise - PrimeFaces
- ↳ Paradise - PrimeNG
- ↳ Barcelona
- ↳ Barcelona - PrimeFaces
- ↳ Barcelona - PrimeNG
- ↳ Atlantis
- ↳ Atlantis - PrimeFaces
- ↳ Atlantis - PrimeNG
- ↳ Atlantis - PrimeReact
- ↳ Atlantis - PrimeVue
- ↳ Morpheus
- ↳ Morpheus - PrimeFaces
- ↳ Morpheus - PrimeNG
- ↳ Verona
- ↳ Verona - PrimeFaces
- ↳ Verona - PrimeNG
- ↳ Verona - PrimeVue
- ↳ Poseidon
- ↳ Poseidon - PrimeFaces
- ↳ Poseidon - PrimeNG
- ↳ Poseidon - PrimeVue
- ↳ Ultima
- ↳ Ultima - PrimeFaces
- ↳ Ultima - PrimeNG
- ↳ Ultima - PrimeReact
- ↳ Ultima - PrimeVue
- ↳ Omega
- ↳ Omega - PrimeFaces
- ↳ Omega - PrimeNG
- ↳ Icarus
- ↳ Legacy
- ↳ Venture
- ↳ Olympos
- ↳ Atlas
- ↳ Titan
- ↳ Volt
- ↳ Adamantium
- ↳ Rio
- ↳ Ronin
- ↳ Spark
- ↳ Sentinel
- ↳ Modena
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests