Activity Forums Salesforce® Discussions What are Lightning components for update values based on select list in Salesforce?

  • What are Lightning components for update values based on select list in Salesforce?

    Posted by Deepak on August 21, 2019 at 11:24 am

    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>

    Deepak replied 5 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Popular Salesforce Infographics

marketing cloud

Salesforce Marketing Cloud Features, Benfits and Advantages

in

Elevate Your Strategy: Discover the 4 Power Moves with Salesforce Marketing Cloud 1. 𝐏𝐫𝐞𝐜𝐢𝐬𝐢𝐨𝐧 𝐓𝐚𝐫𝐠𝐞𝐭𝐢𝐧𝐠 Laser-focused campaigns for maximum impact. 2. 𝐃𝐚𝐭𝐚-𝐃𝐫𝐢𝐯𝐞𝐧 𝐈𝐧𝐬𝐢𝐠𝐡𝐭𝐬 Real-time analytics…