New answers tagged

3

There is no way from lightning-file-upload itself. This is all from the lightning-file-upload docs. One reason it doesn't provide the size is that it handles the file size limit automatically (and displays it automatically on upload as well) File Upload Limits By default, you can upload up to 10 files simultaneously unless your Salesforce admin has changed ...


3

This symptom is indicative that you've registered the same listener more than once. You must remember to deregister events when your component unloads to prevent his problem. This is done with aura:valueDestroy. <aura:handler name="destroy" value="{!this}" action="{!c.doDestroy}" /> Further, because of how these things ...


1

You seemed to have gotten your value providers mixed up: c = A component’s controller, which enables you to wire up event handlers and actions for the component v = A component’s attribute set. This value provider enables you to access the value of a component’s attribute in the component’s markup. You appropriately use c.fetchUser to use the controller's ...


Top 50 recent answers are included