Skip to content

Commit 85ace68

Browse files
committed
Bugfix
1 parent fc3ca05 commit 85ace68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/autoform-file.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Template.afFileUpload.onCreated ->
2020
@_interceptValue = (ctx) =>
2121
unless @_stopInterceptValue
2222
t = Template.instance()
23-
if t.value.get() isnt false and t.value.get() isnt ctx.value
23+
if t.value.get() isnt false and t.value.get() isnt ctx.value and ctx.value?.length > 0
2424
t.value.set ctx.value
2525
@_stopInterceptValue = true
2626

0 commit comments

Comments
 (0)