Commit 708aeb6582afa48f2c2d2e130fc60142bf1412a6

Authored by Neeraj Sharma
1 parent 945cc2d129

fix validation add user

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/pages/Dashboard.vue
... ... @@ -492,7 +492,7 @@ export default {
492 492 nameRules: [v => !!v || " Full Name is required"],
493 493 emailRules: [
494 494 v => !!v || "E-mail is required",
495   - v => /.+@.+/.test(v) || "E-mail must be valid"
  495 + v => /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(v) || 'E-mail must be valid'
496 496 ],
497 497 countryRules: [v => !!v || " Country Name is required"],
498 498 headers: [
... ...