-
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
Schedular Class in Salesforce | Apex Developer Guide
Scheduler Class To arrange a Pinnacle course to run at standard extends, to begin with, compose a Pinnacle lesson that actualizes the Salesforce-provided interface Schedulable.…
Utility Bar Component in Salesforce Lightning
In this blog, I will be discussing the utility bar component that can be used to save a lot of time to perform certain tasks…
Things To Consider When Choosing a CRM | Salesforce
Regardless of the size of the company or where it is in its lifecycle, selecting the right CRM is a crucial decision. Yet, far too…
Popular Salesforce Videos
In App Guidance | Salesforce Tutotial
In this video, we take a look at one of the new features from the Salesforce Summer '19 release - In-App Guidance. We explain what…
Salesforce Deployment Using Workbench | Salesforce Workbench Tutorial
Salesforce Deployment using Workbench. In this video, the following points will be covered - 1. Introduction Get a brief introduction about the Workbench tool. 2.…
Salesforce Careers: Drive Success Through the Lens of the Customer
Salesforce employs over half of the Technical Architects across the globe and is shaping the future! Visit careers at Salesforce to apply for the Professional…
Popular Salesforce Infographics
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…
How Salesforce Improves User Experience Through Hyper-Personalization?
Personalized service has become an imperative part for any business to succeed in the cut-throat competitive market. 66% of people want companies to understand their…
6 Types of Relationships in Salesforce
A relationship in Salesforce is a 2-way association between 2 objects. Using relationships we can link objects with each other and we can make connections…