Topic: input type='file' with Angular PRO, could you provide me any examples/tutorials on reading file's content using Ng PRO's File Input
passakorn “Bee” CHOOSUK pro asked 7 years ago
As I mention in the question, I try to upload an image with File Input. I can get the information about the image file that I choose, but I can't read its content. Normally after I get the file information from <input> I will throw it to FileReader oject to get its content, but now I can't. So if you can provide me examples or tutorials that would be nice. Thanks in advance.
Add comment
Adrian Sawicki free answered 7 years ago
Hello,
We didn't try to throw it to FileReader so my only suggestion for it would be to look into StackOverflow or maybe someone else from the forum can help with it?
You can try https://stackoverflow.com/questions/30830268/how-to-make-filereader-work-with-angular2 it's angular 2 but it might work in this case too.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags