Renaming file before uploading. #755
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?
Hello,
I'm trying to modify the file name before sending the file to the back-end. Currently I can import the files into the uploader queue as input boxes, so I am able to edit the filename, but it doesn't take effect:
How would I go about when I rename the `value = "{{ item?.file?.name }} to actually take effect and re-name the file?
Thanks!
Appreciate this is quite old, but the solution I found was this:
<input type="text" [value]="item.file.name" (change)="item.file.name = $event.target.value">