I’m trying to pass an array of dates through to my component, but it keeps throwing [Vue warn]: Property or method “dates” is not defined on the instance but referenced during render I don’t …
Tag: vue-component
How do I validate with number and regex in vue js?
I have to validate textbox accepting only numeric value and number must start with 7 or 8 or 9 (regex). I have already done maxlength, minlength and required rule. Which are perfectly working fine. But I don’t know how to validate with only accepts number and regex. I have tried some of the syntaxes but not working. Answer The validation
POST file along with form data Vue + axios
I have a method for Vuejs component: async submit () { if (this.$refs.form.validate()) { let formData = new FormData() formData.append(‘userImage’, this.avatarFile, this….