silverstripe-asset-admin icon indicating copy to clipboard operation
silverstripe-asset-admin copied to clipboard

Select multiple in assets modal

Open lerni opened this issue 3 years ago • 3 comments

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.

lerni avatar Jan 10 '22 07:01 lerni

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?

emteknetnz avatar Jan 12 '22 02:01 emteknetnz

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 dragmultiselect .

lerni avatar Jan 12 '22 06:01 lerni

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

emteknetnz avatar Jan 13 '22 19:01 emteknetnz