Skip to content

Commit bc93933

Browse files
authored
Merge #56 Get form Id for validation context thanks @harryadelb
2 parents 823bb12 + 88bb320 commit bc93933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client/fileUpload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Template.afFileUpload.onCreated(function () {
7070
this.currentUpload = new ReactiveVar(false);
7171
this.inputName = this.data.name;
7272
this.fileId = new ReactiveVar(this.data.value || false);
73-
this.formId = this.data.atts.id;
73+
this.formId = AutoForm.getFormId();
7474
return;
7575
});
7676

0 commit comments

Comments
 (0)