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.
1 parent fc3ca05 commit 85ace68Copy full SHA for 85ace68
lib/client/autoform-file.coffee
@@ -20,7 +20,7 @@ Template.afFileUpload.onCreated ->
20
@_interceptValue = (ctx) =>
21
unless @_stopInterceptValue
22
t = Template.instance()
23
- if t.value.get() isnt false and t.value.get() isnt ctx.value
+ if t.value.get() isnt false and t.value.get() isnt ctx.value and ctx.value?.length > 0
24
t.value.set ctx.value
25
@_stopInterceptValue = true
26
0 commit comments