epicmaxco / vuestic-ui

Vuestic UI is an open-source Vue 3 component library designed for rapid development, easy maintenance, and high accessibility. Maintained by Epicmax (@epicmaxco).
https://vuestic.dev
MIT License
3.46k stars 339 forks source link

va-file-upload, prop type="single" is not looking like type="list" #3727

Open math-fx opened 1 year ago

math-fx commented 1 year ago

Vuestic-ui version: 1.7.5

Hello, I took a screenshot of my file upload type "list" and the other type "single" with an uploaded document. I want to limit the number of uploaded documents in the dropzone to 1. That's why I changed to "single" type. Only the preview of the document is not at all the same as for the "list" type. This problem must be fixed so that the style is the same

Here is my code of the va-file-upload element : type=list type-list

<va-file-upload
  v-model="keyfile"
  dropzone
  color="salmon"
  type="list"
  drop-zone-text="Drop Zone"
  upload-button-text="Open"
/>

type=single type-single

<va-file-upload
  v-model="keyfile"
  dropzone
  color="salmon"
  type="single"
  drop-zone-text="Drop Zone"
  upload-button-text="Open"
/>
m0ksem commented 12 months ago

@xx13, we'll need your help here.