payload
payload copied to clipboard
feat(ui): disable save button until the upload file is uploaded / ready
What?
Previously, while uploading a file - if the uploading process took a bit of time, users could still save the document prior to the upload fully completing.
Why?
During the uploading process - the save button should be disabled until the upload is complete to prevent premature saving of an upload document.
How?
Now, we keep track of the state of the upload and disable the save button until the file is fully uploaded.