Open Grubiopa opened 9 months ago
The vue version is "vue": "^2.6.14",
Can you share a minimal live example illustrating the issue?
Hello @Grubiopa,
I just tested the File Upload (Vue) demo on my end and didn't get any issues. The survey.onUploadFiles
event was correctly invoked.
If you require further assistance, please send us a problematic demo for research.
Thanks
while is not seeing is the selection of the file
Are you requesting a feature, reporting a bug or asking a question?
It's a bug that occurs in versions 1.9 - We upload to survey-vue: 1.9.132
Last previous version tested that works: 1.8.29
What is the current behavior?
The survey.onUploadFiles.add is not trigger when a file need to be upload
And no logs are shown.
What is the expected behavior?
Trigger the method onUploadFiles
How would you reproduce the current behavior (if this is a bug)?
Trying to upload files with version 1.8.29 and later upgrading the version
Provide the test code and the tested page URL (if applicable)
Test code
this.survey.onUploadFiles.add((survey, options) => { console.log("Entra al onuploadfiles"); const promises: Promise[] = [];
options.files.forEach(file => {
const p = this.$vlf.setItem(
${options.name}/${file.name}
, file); promises.push(); });{ "type": "file", "name": "Create and Upload the HLD for the Data Source onboarding here", "isRequired": true, "storeDataAsText": false, "maxSize": 0 }
Specify your