Add (or just document) a way of populating the file upload field with existing file. #2035
Unanswered
lucasromanojf
asked this question in
Feature Requests
Replies: 1 comment 3 replies
-
@lucasromanojf As far as I know, you can not prepopulate a My first thoughts re: this (without knowing your use-case) would be to show the existing file name in a readonly input, give the user the ability to delete that file via a button, should they want to, and if they do, show a new file input for uploading a new/replacement file. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Think about a crud where one of the fields is a file.
The file upload field works well on creation, since there are no files yet.
But what is the best approach for when editing the record? I mean, populate the current file(s) on the uploader component.
Maybe add an easy way for that on the component itself (preferred IMO) or maybe just add a suggestion to the documentation?
Beta Was this translation helpful? Give feedback.
All reactions