clear input errors put on a form in vue js code example Example: clear input from file vue this.$refs.fileupload.value=null;