Filepond: Disable ctrl+v paste

Created on 30 Nov 2018  路  2Comments  路  Source: pqina/filepond

Hello, i'm using:
"filepond-plugin-file-encode": "^1.0.5",
"filepond-plugin-file-validate-size": "^1.0.4",
"filepond-plugin-file-validate-type": "^1.2.0",
"filepond-plugin-image-preview": "^2.0.1",
"react-filepond": "^3.0.0",

And i can paste file using ctrl+v. How i can disable this function?

| Environment | Version
|------------- | -----------
| OS | Windows ...
| Browser | Chrome..

Most helpful comment

FilePond.create({
    allowPaste: false
});

See FilePond instance docs:
https://pqina.nl/filepond/docs/patterns/api/filepond-instance/

All 2 comments

FilePond.create({
    allowPaste: false
});

See FilePond instance docs:
https://pqina.nl/filepond/docs/patterns/api/filepond-instance/

@rikschennink TY!!!

Was this page helpful?
0 / 5 - 0 ratings