-
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
Top 10 Features in Salesforce Summer ’19 Release
Salesforce releases over a whopping 150 new features three times a year during its seasonal releases: Spring, Summer, and Winter. And one of the most…
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.…
Synchronous and Asynchronous calls using Apex in Salesforce
Synchronous And Asynchronous Apex Synchronous: Don’t forget to check out: Asynchronous Apex In a Synchronous name, the thread will wait until it completes its obligations…
Popular Salesforce Videos
Education Cloud in Salesforce
Education Cloud is a leading platform that empowers your institution to become a Connected Campus, so you can transform the student journey. With the power…
Building Slack Apps with Apex on Salesforce
Slack has traditionally been associated more with non-Salesforce backends such as AWS. Now that Slack is a Salesforce product, Salesforce developers are probably curious about…
Integer Datatype | Primitive Datatypes in Apex | Salesforce Development Tutorials
Shrey covered the following questions in this video: What are the different types of Datatype? What are Primitive Datatypes? What is the Long datatype? What…
Popular Salesforce Infographics
Top Salesforce Trends For 2023
When it comes to managing customer databases, Salesforce is leading the pack. Companies are increasingly relying on this powerful tool for its unrivalled flexibility and…
Salesforce Developer Career Path
Embarking along your journey of becoming a Salesforce Technical Extraordinaire is a wise move, as programming in Apex and Visualforce is one of the hottest,…
How to Create Campaign in Salesforce for Sales Departments: 5 Best Practices
Salesforce Sales Cloud is a powerful platform with several facilities for maintaining and improving the sales function. One of the dominant features offered by Salesforce…