-
How do I reset a Salesforce Lightning file input after submission?
Hi All,
How do I reset a lightning file input after it has been submitted?Here is my input on the component:
<input type="file" class="file" aura:id="file" />
After the user submits the file it still has the old file selected and I want to clear it out after submission.
Thanks!
Log In to reply.
Popular Salesforce Blogs
Introduction on Salesforce and HIPAA Compliance
HIPAA stands for ‘The Health Insurance Portability and Accountability. As per HIPAA, it was established in the year 1996 that all the data related to…
Salesforce Nonprofit Cloud Spring '24 Highlights
While many of us are still feeling the chill of winter, Salesforce's Spring '24 release is in full bloom! Let's review some of the Nonprofit…
Popular Salesforce Videos
Successfully Retrieving Metadata From Salesforce org Using Packages
In this session, we will uncover various strategies that developers can use to pull metadata from Salesforce org successfully. Watch this video and learn everything.…
Crash Course on Apex Triggers Salesforce | Complete Guide with Real Time Scenarios
Complete guide on Apex Triggers Salesforce 0:00 Intro 0:33 Is Triggers difficult to Learn 0:50 What is Trigger? 3:03 What are Trigger events? 11:55 How…
Salesforce Spring ’20 Release - Our Top 10 Features
The Salesforce Spring ’20 release is just around the corner - so it’s time to get ready for some great new features. Here's our top…