Skip to content

Commit

Permalink
Emit an update:modelValue with a null payload when clearing the FileU…
Browse files Browse the repository at this point in the history
…pload component
  • Loading branch information
cstns committed Aug 29, 2024
1 parent 7dc1a29 commit 2edd3ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default {
return {
clear () {
this.file = null
this.$emit('update:modelValue', null)
}
}
},
Expand Down

0 comments on commit 2edd3ad

Please sign in to comment.