-
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
Improve Your Salesforce Data Collection - 5 Simple Ways
1. Associate with Data Everywhere Salesforce fabricated the cloud. What's more, the cloud is an incredible spot to get to and dissect information. Be that…
Prevent Cross-Site Scripting and Injection Attacks | Salesforce Developer Guide
What Are External Attacks? Outer assaults happen when somebody outside your association's frameworks figures out how to acquire passage to exact harm. There are numerous…
The High-Tech Storefront: Managing Complex Software and Hardware Bundling in Salesforce Commerce
High-tech enterprises face a major shift in product distribution models. Traditional technology sales separated physical equipment from software systems. Today, corporate customers demand integrated digital…
Popular Salesforce Videos
How to setup Visual Studio Code for Salesforce ? | Link VSCode with Non Scratch Org using SFDX CLI
Hello Trailblazers, In this video, we're going to learn how we can setup vscode for Salesforce development. I am going to tell you how you…
Marc Benioff: Slack Deal Makes Salesforce 'A Whole New Type of Company'
Salesforce, the CRM powerhouse that recently surpassed $20 billion in annual revenue, announced today it is wading deeper into enterprise social by acquiring Slack in…
Salesforce Essentials vs Professional
In this video, Bradley Large answers some of the most common questions people have about Salesforce. He gives clear and concise answers to questions like:…