About this question
When I am trying to fetch the data on onpaste event. checkPasteLength gets invoked when I try to paste some text but event.key returns undefined and event.clipboardData.getData('textarea') returns null
checkPasteLength(event){ console.log(event.key); console.log(event.clipboardData.getData('textarea')); }Is there a way to get the value on onpaste