-
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

Dynamic Components Creation in Aura | The Ultimate Salesforce Guide
Hello Devs, in Salesforce Aura framework, dynamic component creation stands as a powerful capability, enabling the generation of components dynamically during runtime, a functionality pivotal…

Salesforce Customization vs. Configuration: Everything You Should Know
When a business plans to use a Salesforce solution, it is important to make sure that all the business requirements are met. The Salesforce platform…

How to Integrate Calendly with Salesforce: A Detailed Guide
In today’s fast-paced business environment, efficiency in scheduling and managing appointments is crucial. Integrating Calendly, a popular scheduling tool, with Salesforce, the leading customer relationship…
Popular Salesforce Videos
Understanding Future Method | Difference Between Asynchronous and Synchronous Apex in Salesforce
In this video, Shrey explained Synchronous Apex and Asynchronous Apex in a simple way. He also explained the importance of the Future method in Salesforce.…
Get Started With Empowering Your Sales Users in Salesforce Pardot
This Get Started With Empowering Your Sales Users in Pardot series will help your sales reps sell more and save time with Pardot features. The…
Event Driven Development on Salesforce | All About Event in Salesforce
In this session, we will talk about Event-Driven Development in Salesforce. Let’s take a look into the many ways events have changed the way we…
Popular Salesforce Infographics

Top 12 Salesforce Trends in 2024
Embark on a journey through the future of Salesforce in 2024 and beyond. Uncover the latest trends shaping CRM excellence, providing crucial insights to navigate…

How To Upgrade Your Business With Salesforce?
Salesforce has been stretching the possibilities of business growth right from its inception in 1999. Its fierce business model attracted people who eventually moved to…

Step by Step: What you Should Know About the Order-to-Cash Process
The order-to-cash (O2C) process is a defining part of a company’s success, and it also plays a big role in driving an organization’s relationship with…