Skip to content
Advertisement

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

Advertisement