Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to do Client-side FileUpload #892

Closed
glubbert opened this issue Sep 13, 2016 · 5 comments
Closed

Possibility to do Client-side FileUpload #892

glubbert opened this issue Sep 13, 2016 · 5 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@glubbert
Copy link

As far as I can tell the FileUpload component is meant to work with a backend. A basic client-side version would be great.

@cagataycivici
Copy link
Member

What is the use case for it?

@glubbert
Copy link
Author

Manipulating text/image files on the client side.
For example, choosing an xml file, converting the contents to json and displaying the stringified object (Something I currently need to do).
Also uploading image files and using them with a 2d/3d context on a canvas, or just appending them to the page for one purpose or another. Stuff like that.
So just a regular html5 file input but with the cool things ng FileUpload does, listing/removing files, automatic dragndrop and such.

@mike-nyllabs
Copy link

Also using your own method with a file upload, for example using your own service to upload to amazon. I don't want to have to use a route to upload my files.

@islemus
Copy link

islemus commented Feb 1, 2017

Also parsing a csv file to automatically fill up a form for instance

@cagataycivici cagataycivici self-assigned this May 31, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label May 31, 2017
@cagataycivici cagataycivici modified the milestones: 4.0.3, 4.0.4 May 31, 2017
@cagataycivici cagataycivici changed the title Client-side FileUpload Possibility to do Client-side FileUpload Jun 9, 2017
@cagataycivici
Copy link
Member

We've added showUploadButton and showCancelButton, to do client side only, you need to set these two attributes to false and then use (onSelect) callback to implement client side only logic, so it would be just a nice rich file selector without upload.

@mike-nyllabs, your case is #3040

cagataycivici pushed a commit that referenced this issue Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

4 participants