Multiple Submits On Same Form

I am building a chat system with file upload. When user selects a file and submits, the server connect form gets submitted with the file and takes some time while the file is uploading.
Being a chat system, its expected that user can still send messages while the file is uploading.
But, if I send another message, its another form submission… and the previous requests gets cancelled (as I can see in network tab) and the file upload submission does not go thorugh.

I am using sockets, but I don’t think I can send the files over socket… I have to use a form.

How do I configure this via Wappler?

Community Page
Last updated: