-
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
Salesforce Consulting Services: Unlock Your Business Potential
Looking to grow your business with the power of Salesforce? Start with expert Salesforce Consulting Services. A trusted partner can help you get the most…
Salesforce App Development Lifecycle – Get your App on AppExchange
Even before you start coding and materializing your fabulous app out of thin air, or computer air, it is very important to establish a development…
DemandBlue and Celigo Partner to Deliver Optimal Process Automation for Salesforce
DemandBlue, a Salesforce Consulting Partner, announces its’ partnership with Celigo, the leading enterprise-wide Integration Platform as a Service (iPaaS) for the mid-market. Celigo provides automated business processes…
Popular Salesforce Videos
Reason to Switch the Job | Future of Salesforce Job Market | Christopher A Hopper
Here is the Glimpse of Conversation with Christopher A Hopper on the topic "Reason to Switch the Job". This is the very first episode of…
Knowledge Base in Salesforce Lightning
By end of this video, we will be able to 1. Understand what is knowledge base. 2. Why we need to use Knowledge base 3.…
Setting Up Service Territories and Operating Hours | Salesforce Webinar
Scale your business and ensure optimized performance by setting up service territories in Salesforce Field Service. In Salesforce Field Service, operating hours represent service territory…
Popular Salesforce Infographics
Salesforce Marketing Cloud
Salesforce Marketing Cloud is a platform where relevant and personalized journeys are delivered across different devices and channels. This allows the marketers to deliver right…
The 10.5 Commandments of Salesforce Users
This great piece of visual goodness presents the 10 commandments every Salesforce user needs to follow. Make sure every single one of these practices is…
Differences Between Salesforce Enterprise Edition and Salesforce Professional Edition
Congratulations! You’ve decided to implement Salesforce. We understand that the process can be a bit overwhelming. As Salesforce Consultants one of the questions that we…