Replies: 2 comments 2 replies
-
Hi yes, This has been on my list for a while, I haven't done it yet. Sorry. Now that someone has asked for it I will give it a look. It is definitely a special case, looking at the way Phoenix Liveview does it, they upload the files first and then call the form save method. They have a special bit of state on the socket to monitor uploads. That kind of logic should work for this project. I will endeavour to get around to it sometime this week. (Sorry I missed this discussion, I get so many notifications on I sometimes miss things) |
Beta Was this translation helpful? Give feedback.
-
There is a released version of file uploads in |
Beta Was this translation helpful? Give feedback.
-
Was playing around with this project and wanted to be able to do file uploads. My form submits the event, but I'm noticing that the event is missing all the data.
I just skimmed the project, but from what I can tell, you'd need to slice the file into smaller chunks to send over WebSocket stream, then reassemble the file on the server side. It'd probably require reworking
LiveEvent
andSocket.send
to support this lower level operation?Maybe I'm missing something and this already works, if so it'd be a good example to have.
Beta Was this translation helpful? Give feedback.
All reactions