We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32b604e + f56e9ab commit ffe0799Copy full SHA for ffe0799
lib/client/fileUpload.js
@@ -105,6 +105,9 @@ Template.afFileUpload.events({
105
'click [data-remove-file]'(e, template) {
106
e.preventDefault();
107
template.fileId.set(false);
108
+ if (template.data.value) {
109
+ delete template.data.value;
110
+ }
111
try {
112
this.remove();
113
} catch (error) {
package.js
@@ -2,7 +2,7 @@ Package.describe({
2
name: 'ostrio:autoform-files',
3
summary: 'File upload for AutoForm using ostrio:files',
4
description: 'File upload for AutoForm using ostrio:files',
5
- version: '2.1.3',
+ version: '2.1.4',
6
git: 'https://github.com/VeliovGroup/meteor-autoform-file.git'
7
});
8
0 commit comments