Open genyded opened 9 years ago
I have the exactly same Issue
I had the same issue and I've managed to find a workaround. Instead of using afQuickField assign an afFieldInput to the correspoding array in the schema.
The schema part
fileList: {
type: [String],
optional: true,
}
The template
{{> afFieldInput name="fileList" type="cfs-files" collection="files"}}
I'm still testing it so please test this before using it! It seems to be working for me but your mileage may vary!
As for the second issue (changing the files not clearing the previous ones) I haven't found any solutions yet.
There are 2 issue with cfs-files (the "multi" version)...
1) When file or files are selected, submit fails with "must be a string" error 2) When changing files, the previous one or ones are not cleared