function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sid LightningSid Lightning 

copy picklist value on product enteries screen on click of checkbox

Hi,

I have a Lightning page to add products on opportunity and Deals(custom object)

However, when selecting multiple products, the user often faces challenges in filling adjacent fields for that product, since attributes remain the same.

Can I provide a checkbox(select all), that automatically copies the picklist value of the first product of all the products?
ANUTEJANUTEJ (Salesforce Developers) 
Hi there,

I found this link that implements copy to clipboard functionality that could help in your use case.

https://sfdcmonkey.com/2019/02/28/copy-to-clipboard-salesforce-lightning-component/

I hope this helps.

Regards,
Anutej