how to clear input field in vue js code example Example: clear input from file vue this.$refs.fileupload.value=null;