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
Raghu Natha 2Raghu Natha 2 

LWC components Copy paste functionality

Hi,

The LWC lightning input components does not contain onpaste functionality. Any pointers on how this cna be achieved.

Thnak you
Soyab HussainSoyab Hussain
Hi Raghu Natha,
Do you want to call a function on paste of value on any input?
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Raghu,
Please refer below link which might help you in this
https://salesforce.stackexchange.com/questions/202834/lightninginput-onpaste-not-working

Hope this helps you
Let me know if this helps you, kindly mark it as solved so that it may help others in future.

Thanks and Regards
Raghu Natha 2Raghu Natha 2
Hi Soyab,

Yes, need to call a function onpaste in an input. Thank you for the response
Raghu Natha 2Raghu Natha 2
Hi Devi,

Thank you for the Response, but is there a way to override the functionality for the LWC component to achieve this functionality ?