New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not change "uploadDir" via constructor option #595
Comments
Thank you for raising this issue! We will try and get back to you as soon as possible. Please make sure you format it properly, followed our code of conduct and have given us as much context as possible. |
Yea, I've seen that problem and fixed it in master. Try installing master for now until publish a npm version. |
Oh wait, it's in #591 ... I paused it, because for some reason tests locally don't run... |
@DJ-MATAIL, Please try installing Also, if you clone the branch and try to run the tests with |
@DJ-MATAIL |
It was resolved. Thank you! |
Thanks for reminding me. |
In the current version of library (2.0.0-canary.20200226.1) option
uploadDir
in the constructor is ignored. Instead of this option, fieldthis.uploadDir
takes value from itself or set default value (temp dir)this part
and
this part
For now to fix this problem you should set
form.uploadDir = 'your path'
The text was updated successfully, but these errors were encountered: