"File/folder drag and drop" component #70
HovKlan-DH
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I'm not sure I fully follow what you're asking in regards to styling. But we do have plans to add a file uploader component that support drag and drop. It most likely wouldn't look like a filter-pill. I would guess we do something like each file displays below the input with a small preview and and "X" to be able to clear it. Similar in design to this issue: shoelace-style/shoelace#813 @lindsaym-fa feel free to correct me if you have other ideas for the design of the file uploader! And my best guess is it will not be part of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
<wa-input></wa-input>
states there is no support oftype="file"
, and its current implementation seems to lack styling, so for now I am continuing using Bootstrap for this.However, once time allow, would it then be possible to have a component that supports dragging one or more files into a box? Maybe even a complete folder structure, if this is possible?
It should be possible to remove files/folders again from the list, if they were put there in mistake. If no better idea, then maybe styling could be something alike the multiple
<wa-select></wa-select>
?Beta Was this translation helpful? Give feedback.
All reactions