You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From here, it seems that if the components has supportsPreview prop enabled, the component will not emit 'change' event when dropping a file. if (this.supportsPreview) { this.loadImage(files[0], prefill || false) } else { if (prefill) { this.$emit('prefill') } else { this.$emit('change', this.image) } }
The text was updated successfully, but these errors were encountered:
Drag and drop a file doesn't emit 'change'.
From here, it seems that if the components has
supportsPreview
prop enabled, the component will not emit 'change
' event when dropping a file.if (this.supportsPreview) {
this.loadImage(files[0], prefill || false)
} else {
if (prefill) {
this.$emit('prefill')
} else {
this.$emit('change', this.image)
}
}
The text was updated successfully, but these errors were encountered: