Attachments
Frontend components that plug into standard functionality provided by the djattachments django app
Droppable.vue
Droppable component allows you to wrap a card or listitem in this component and the user can drop files on your component to upload them using
add_attachmentsaction on your resource
Example:
vue
<Droppable with-attachment-list with-upload
resource="deal"
:resource-id="modelValue.id" >
..
</Droppable>notes:
with-uploadDropping a file on your component will upload it to the resource'sadd_attachmentendpoint