Closed majortom64 closed 2 years ago
This is an implementation problem not a bug, please post these questions on Stack Overflow.
Closing this without telling how to set server options doesn't help anyone. I'm also trying to do this to add custom headers.
For anyone who's looking for this, this is how you do it:
import { setOptions } from "vue-filepond";
const pond = ref(null as any);
function handleFilePondInit() {
setOptions({
name: "file",
server: {
url: ...`,
headers: {
...
},
},
});
}
...
<FilePond
ref="pond"
:files="files"
allow-multiple
@init="handleFilePondInit"
/>
Is there an existing issue for this?
Have you updated Vue FilePond, FilePond, and all plugins?
Describe the bug
Get:
When trying to set the server options.
Reproduction
A small set that reproduces the problem:
Environment