Briefley
File Upload in forms disrupts the ongoing typing process in other inputs
Hello!
I need your help with a rather strange issue.
I’m working on a form that contains a FileUpload component followed by several text inputs. Everything works well except for one specific edge case:
When a user starts uploading an image and simultaneously types into a text input, a few of the recently typed characters are lost once the upload completes (during the afterStateUpdated event).
I’ve tried various approaches to intercept the flow and retain those typed values, but nothing has worked so far.
Intuitively, it feels like I need a mechanism like an uploadOngoing flag to track the upload state and prevent interference — but I haven’t found a reliable way to implement it. I also came across a similar unresolved discussion on Answerflow.
Would appreciate any guidance or workaround ideas you might have!
3 replies