how use object in FileElement #199
-
i use FileElement to upload a file, but when the file is uploaded, request will return an object as response that has a name and a string as url to show the file, in FileElement we can just set one thing as name and url , is it possible to set name and url diffrent? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
So just to make sure I understand it correctly: you have uploaded and persisted a file (stage 3) and the |
Beta Was this translation helpful? Give feedback.
-
no answer yet? |
Beta Was this translation helpful? Give feedback.
I wasn't able to achieve this myself. The issue is that currently you can only use the same filename for rendering preview, displaying name and handling click while being quite limited when it comes to formatting the urls.
I have to figure out a way to restructure the file upload to be able to achieve this. I've created a discussion for hit: #239