Skip to content

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

Open
@math-fx

Description

@math-fx

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"
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't workingd2: easyRecomended mode for new, but mature playersdesignRequires designv3: wish to haveThis is something user want, but can live without it

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions