Timeline for invoking .click() function in lightning component
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 29, 2019 at 14:12 | vote | accept | api-testuser45690 | ||
Jan 29, 2019 at 14:12 | comment | added | api-testuser45690 | thanks. This is good to know. I think for now, we're going to fold in the standard upload component and put it in the backlog to roll our own. | |
Jan 24, 2019 at 21:56 | comment | added | sfdcfox♦ | @api-testuser45690 We had a different design goal with ours. The c:fileSelector component just delivers an event with the file name, size, and blob-as-base64. The parent component ended up resizing the images to max 2000x2000 and a number of other formats as our website required, so in this case the upload limit was avoided by capping how large the images could be. If you need to deal with large files, you could upload them in chunks, etc. I would recommend splitting the file selection from the upload process for flexibility. | |
Jan 24, 2019 at 21:51 | comment | added | api-testuser45690 | That's basically what I was thinking. The only consideration I really have about writing a file upload component was the file size limitations I've heard about. Did you run into this at all writing yours? | |
Jan 24, 2019 at 21:42 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |