Salesforce Lightning Web Component lightning input File Upload
Using Salesforce Apex and FileReader() and encodeURIComponent() from JavaScript, we can easily upload a file using Lightning Web Component lightning:input of type file. Sample Code: Apex Class: public class FileUploadController ....