clear input from file vue code example Example: clear input from file vue this.$refs.fileupload.value=null;