-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(forms): add
sessionStorageId
support to Field.Upload with empty…
… file list rendering (#4339) When using `sessionStorageId` on `Form.Handler` alongside `Field.Upload` with a specified path, file data is stored. However, during serialization, Blob information is not preserved in session storage. As a result, reading this data causes `Field.Upload` to throw an exception. This PR ensures invalid files are not rendered, preventing such errors. In the future, we could explore storing Blobs in IndexedDB, but that would require a more extensive effort.
- Loading branch information
1 parent
a5623f5
commit d02a0af
Showing
2 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters