Skip to content

muc-file-dropzone: Event "files" not triggert, if file selection is used #733

Description

@udobrmuc

Describe the bug
muc-file-dropzone: Event "files" not triggert, if file selection is used.
Drag and drop works fine, but not file selection (click on muc-file-dropzone)

To Reproduce
Example:
...
<muc-file-dropzone
v-model="..."
@files="handleFiles"
:additionalInformation="t(...')"
:buttonText="t('...')"
:invalidAmountWarning="t('...')"
:maxFileSize="1"
:multiple=false
:maxFileSizeWarning="t('...')"
/>
...
function handleFiles(files: File[]) {
...
}

Expected behavior
Event "files" is triggert, if file selection is used

Screenshots

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser [chrome, firefox]
  • Version [chrome Version 147.0.7727.24, firefox 140.9.0esr]

Smartphone (please complete the following information):

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions