Single File Upload Documentation #921
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I don't see any documentation as to the best way to upload only a single file.
I have a use case where I need to only allow the user to upload a single file.
(i.e. selecting another file should replace the current file rather than append it to the upload queue)
Seems like a common use case but I can't seem to find any documentation on this.
Any guidance on this would be appreciated.
I have same problem.
I want to upload only one file for profile updating feature.
I am currently using
onAfterAddingFilein myngOnInitto get the functionality I need:Not sure if this is the best method to limit single files but it works for my needs.
Does
queueLimitwork for this?There's also this