Hi,
I am facing issue in file upload when i try to copy text in excel table, then click on control plus V in screen it is automatically uploading file upload document. So advise some solution thanks in advance PFA
Thanks,Prasath P
Hi @Prasath P,
I have updated the code in component's JS file (filePondUploadPlugin.js) and tested also create a screen and now it is working as expected.
Now pasting file using control + v has been prevented.
in filePondUploadPlugin.js file just change little code that highlighted in the image below.
just change,
from
allowPaste: options.AllowDrop !== false
to
allowPaste: options.AllowDrop !== true,
I am also attaching working OML file of this component where I have also created a screen (Home).
here control + v is prevented.
Hope this will help you.
Kind regards,
Sanjay Kushwah
Could you please explain more what is exact issue as I see this component, it is working fine, while pressing ctrl+V there is nothing happening.
Hi @Sanjay Kushwah,
i will provide steps:step1: copy word from excel
step2: paste it in screen. it replicating automatically document is uploaded.
Could you please attach your OML file.
Hi @Daniël Kuhlmann @.
Please help me on my question, it same like this
https://www.outsystems.com/forums/discussion/41194/restrict-copy-paste-in-application/
hi @Sanjay Kushwah ,
Please find attachmet