You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am still using this and I came to some limits I'd like to solve with some hooks:
picture: {type: String,autoform: {afFieldInput: {type: 'fileUpload',collection: 'Images',hooks: {onProgress: ()=>{},// while in progressonComplete: ()=>{},// progress === 100%onError: err=>{},// there was an upload erroronRemove: fileId=>{},// user wants to delete the uploaded fileonRemoved: ()=>{},// the file has been removed}}}}
The reasons are simple:
disable form submit/cancel until file has been uploaded
let users remove their uploaded file by using a custom Meteor method (because the default remove is disabled)
custom way of communicating upload errors to the user
The text was updated successfully, but these errors were encountered:
I have a suggestion:
I am still using this and I came to some limits I'd like to solve with some hooks:
The reasons are simple:
The text was updated successfully, but these errors were encountered: