-
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
Working and Usage of lightning:recordEditForm | Salesforce Developer Guide
Build a form with the lightning:recordEditForm component to add a Salesforce record or change fields in an existing record. The part shows fields along with…
Pardot vs Marketing Cloud: Which Tool Is The Ultimate Game Changer?
Here’s a question: Which Salesforce marketing automation tool is the right choice for your business? Is it that easy to answer? We bet you, it…
How to Use the Salesforce Marketing Cloud for Business Growth in 2024?
Salesforce Marketing Cloud is a leading email marketing software for creating and managing successful marketing campaigns and nurturing customer relationships. This SaaS platform allows marketers to use email personalization to…
Popular Salesforce Videos
Adding an Email Service Channel with Email-to-Case | Salesforce Tutorial
Learn how to add an email service channel with Email-to-Case. This feature will enable you to resolve and correspond with customer inquiries via email without…
Is It Possible To Get 20 Lacs Above Package In Salesforce?
Join this useful group for Salesforce job & career info. Watch this video and join this group to clear all the doubts you have regarding…
Build a Discount Approval Process | Step by Step Guide | Trailhead Project
Building a robust discount approval process is the first step in getting a grip of price discounts that are eating into profit. In this video…
Popular Salesforce Infographics
Growth of Salesforce (Data and figures)
Salesforce.com is the #1 Customer Relationship Management (CRM) company in the world with regard to the market share. It provides numerous CRM software that helps…
How to Integrate Salesforce with External Systems
Salesforce Connect empowers you to associate Salesforce to external heritage frameworks like Oracle, SAP, DB2, Microsoft SharePoint continuously, without making a duplicate/copy of any single…
Sales Productivity: Tips to Overcome Productivity Challenges
Growing sales is the cornerstone of business success. Whether you're a startup or an established enterprise, the objective remains the same: Increase Revenue, Expand your…