Skip to content

Commit

Permalink
work experience error handling updated messages
Browse files Browse the repository at this point in the history
  • Loading branch information
soletsdev committed Mar 26, 2024
1 parent 670a17d commit 1c69fad
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<v-form ref="addWorkExperienceReferenceForm" validate-on="input" class="mt-6">
<v-text-field
v-model="lastName"
:rules="[Rules.required()]"
:rules="[Rules.required('Enter your reference\'s last name')]"
label="Reference Last Name"
variant="outlined"
color="primary"
maxlength="100"
></v-text-field>
<v-text-field
v-model="firstName"
:rules="[Rules.required()]"
:rules="[Rules.required('Enter your reference\'s first name')]"
label="Reference First Name"
variant="outlined"
color="primary"
Expand All @@ -23,7 +23,7 @@
></v-text-field>
<v-text-field
v-model="email"
:rules="[Rules.required(), Rules.email()]"
:rules="[Rules.required(), Rules.email('Enter your reference\'s email in the format \'[email protected]\'')]"
label="Reference Email"
variant="outlined"
color="primary"
Expand All @@ -32,16 +32,17 @@
></v-text-field>
<v-text-field
v-model="phoneNumber"
:rules="[Rules.phoneNumber()]"
:rules="[Rules.phoneNumber('Enter your reference\'s 10-digit phone number')]"
label="Reference Phone Number (Optional)"
variant="outlined"
color="primary"
maxlength="20"
class="my-8"
@keypress="isNumber($event)"
></v-text-field>
<v-text-field
v-model.number="hours"
:rules="[Rules.required()]"
:rules="[Rules.required('Enter your work experience hours')]"
type="number"
label="Work Experience Hours"
variant="outlined"
Expand Down

0 comments on commit 1c69fad

Please sign in to comment.