I was trying to programmatically trigger .click() event of v-file-input because it has on the documentation at Vuetify.
but it shows an error this.$refs.imagePicker.click is not a function
am I missing something here?
Code Reproduction: https://codepen.io/kforr24/pen/ZEQweLP
I'm trying to upload an image using a certain button. Like that certain button would trigger a click event on the v-file-input.


$emitted by Vuetify, not the internal method name used to trigger that emit. If you provided more info about what you're trying to do with the programmatic trigger, you could get more help trying to solve the problem.onclick. Can you try that?this.$refs.image.$refs.input.click().