silverstripe-asset-admin
silverstripe-asset-admin copied to clipboard
Select multiple in assets modal
UploadField let you "Choose existing" which opens assets pop-up alike. There you just can select/check one by one but cannot drag-up an area to select multiple files opposed to real assets admin. Not being able to select multiple intuitively feels UX-wise pretty clunky.
UploadField would have a has_one field database field though? Seems like we specifically do not want to be able to select multiple in this context?
Why do you assume it has to be a has_one relation? Reported issue occurred in a many_many context but I guess it should be the same with has_many. Think of a Gallery i.g. The desired behavior is demonstrated in the gif-animation but not available in the modal. In this context you have to click on each item to "check" multiple
.
Apologies, bad assumption on my part
UploadField
* Represents a file upload field with ReactJS based frontend.
*
* Allows writing to a parent record with the following relation types:
* - has_one
* - has_many
* - many_many