-
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
Mastering Salesforce Data Migration: A Complete Guide
Salesforce is a leading CRM platform that helps businesses manage their customer relationships efficiently. However, moving data into Salesforce can be tricky. This guide will…
The Best 7 Salesforce 2020 Trends For Your Company
As businesses continue to move business-critical apps to the demand for services has exponentially risen. Being an undisputed leader in the services segment, this year…
Apex Testing in Salesforce Made Simple: What You Need to Know
Hey, buddy good to see you! By the end of this one, you will be able to answer some of the questions on the basis…
Popular Salesforce Videos
What is Apex? | Way to become a Salesforce Developer
Apex is a development platform for building software as a service (SaaS) applications on top of Salesforce's customer relationship management (CRM) functionality. Apex allows developers…
Salesforce To Salesforce Integration Using REST API
Salesforce to Salesforce integration using REST API. In this video, you will learn how two Salesforce Orgs can be integrated using REST API. This tutorial…
Data Migration - Salesforce Admin Tutorial
In this video, Zorial Salesforce Tech gives a quick k overview of how to migrate data using Salesforce. He goes over some key points to…
Popular Salesforce Infographics
Boost Sales and Marketing with Salesforce Einstein 1
Salesforce Einstein 1 is a suite of artificial intelligence (AI) tools designed to enhance business efficiency and decision-making. Around 80% of customers expect companies to…
Customer Service Words and Acronyms
Savvy service reps know it is important to stay hip with the lingo. If it seems like customers and agents always keep you guessing with…
What You’ll Get with the Salesforce MVP Infographic
We scanned the profiles of Salesforce MVPs, both past and present, searched high, low, near and far to provide insights into what it specifically takes…