-
What are Lightning components for update values based on select list in Salesforce?
I would like to create a lightning component for update field based on selected value from "select list" in lwc.
I need this component in "force:lightningQuickAction" - so when user open a example ticket and click the button XYZ component will show (it's alraedy done) and select status - click save then the selected status should be change of current ticket record. What should I do next with it ? What I need to write in controller ?
<aura:component implements="force:lightningQuickAction" >
<lightning:select aura:id = "statusSelect" name="statusChoose" label="Setup new status" required="true" onchange="{! c.onChange }">
<option value="working">Working</option>
<option value="escalated">Escalated</option>
<option value="done">Done</option>
</lightning:select>
<button class="slds-button slds-button--neutral uiButton--default uiButton--brand uiButton" type="button">
<lightning:button variant="brand" label="Save" onclick="{! c.saveClick }" />
</button>
Log In to reply.
Popular Salesforce Blogs
Learn All About the Lightning Web Components in Salesforce
Why Lightning Web Components (LWC)? As of now, the AURA framework which was used for Lightning Components is outdated and it was time for a…
Stripe ACH Integration with Salesforce
During our previous conversation, we discussed how Stripe has changed the world of Online Payments in recent years. We also discussed that when we couple it…
QRCode with LWC in Salesforce
Hello Geeks, I was working on the generation of QRCode in LWC which is the new feature of Salesforce from the Spring '19 release. We…
Popular Salesforce Videos
Use Salesforce Notification Builder to Get Notifications to the Right Users in the Right Apps
Did you know you can use Notification Builder to create custom notifications for teams, task queues, and public groups? You can also replace standard notifications…
Keep Salesforce Field Values Clean in Summer 20 in less than 10 minutes - Salesforce Break
Keep Salesforce Mobile Phone field clean by stripping out the ()- characters from the user entry. Ensuring data quality is a challenge for every Salesforce…
How Admins Can Improve Salesforce Data Quality
Learn how to diagnose the accuracy of your data and build a plan to maintain and enhance its’ quality using Salesforce tools. Follow along to…
Popular Salesforce Infographics
Salesforce Almanac
Salesforce is the number one CRM of the world and it has attained great popularity over the years. Its journey is worth seeing so here…
10 MUST HAVE Qualities Your Salesforce Administrator Should Have
Does your organization have a Salesforce Admin? If you use Salesforce or are in the process of implementing it, the role of Salesforce Admin is…
State of Appexchange Salesforce Apps Market 2025
The Salesforce AppExchange continues to expand, providing businesses with innovative tools to enhance their Salesforce experience. With thousands of solutions available, the marketplace has become…