I am using the component: FileUpload of PrimeNG and what I am looking for is to customize the upload of the files that I select. My problem with the documentation is that it does not show me more information to be able to perform this task. Does anyone have an example?
How do I send the file and how do I receive a response from the server?
My current code is:
<p-fileUpload name="my_file" url="http://ift.tt/2vxJUVJ" maxFileSize="26214400" customUpload="true" (uploadHandler)="myUploader($event)"accept="text/csv" chooseLabel="Select" uploadLabel="Upload" cancelLabel="Cancel"></p-fileUpload>
myUploader(event) {
// Nothing here yet
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u92y2D
via IFTTT
Aucun commentaire:
Enregistrer un commentaire