Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove special char check on contact forms #1595

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@
v-model="editContact.firstName"
class="pt-0"
variant="underlined"
:rules="[rules.noSpecialCharactersContactName()]"
:maxlength="255"
label="First Name"
/>
<v-text-field
id="editAuthorityContactLastNameInput"
v-model="editContact.lastName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<v-text-field
id="newContactFirstNameInput"
v-model="newContact.firstName"
:rules="[rules.noSpecialCharactersContactName()]"
variant="underlined"
class="pt-0"
:maxlength="255"
Expand All @@ -36,7 +35,7 @@
<v-text-field
id="newContactLastNameInput"
v-model="newContact.lastName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
variant="underlined"
class="pt-0"
:maxlength="255"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@
v-model="editContact.firstName"
class="pt-0"
variant="underlined"
:rules="[rules.noSpecialCharactersContactName()]"
:maxlength="255"
label="First Name"
/>
<v-text-field
id="editSchoolContactLastNameInput"
v-model="editContact.lastName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand All @@ -48,7 +47,6 @@
label="Position Title"
type="text"
variant="underlined"
:rules="[rules.noSpecialCharactersContactTitle()]"
maxlength="255"
/>
<v-text-field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@
v-model="newContact.firstName"
variant="underlined"
class="pt-0"
:rules="[rules.noSpecialCharactersContactName()]"
:maxlength="255"
label="First Name"
/>
<v-text-field
id="newContactLastNameInput"
v-model="newContact.lastName"
variant="underlined"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
:maxlength="255"
label="Last Name"
Expand All @@ -47,7 +46,6 @@
v-model="newContact.jobTitle"
class="pt-0"
variant="underlined"
:rules="[rules.noSpecialCharactersContactTitle()]"
:maxlength="255"
label="Position Title"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@
v-model="editContact.firstName"
class="pt-0"
variant="underlined"
:rules="[rules.noSpecialCharactersContactName()]"
:maxlength="255"
label="First Name"
/>
<v-text-field
id="editDistrictContactLastNameInput"
v-model="editContact.lastName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand All @@ -45,7 +44,6 @@
<v-text-field
id="editDistrictContactJobTitle"
v-model="editContact.jobTitle"
:rules="[rules.noSpecialCharactersContactTitle()]"
label="Position Title"
variant="underlined"
type="text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<v-text-field
id="newContactFirstNameInput"
v-model="newContact.firstName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand All @@ -36,7 +36,7 @@
<v-text-field
id="newContactLastNameInput"
v-model="newContact.lastName"
:rules="[rules.required(), rules.noSpecialCharactersContactName()]"
:rules="[rules.required()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand All @@ -45,7 +45,6 @@
<v-text-field
id="newContactJobTitleInput"
v-model="newContact.jobTitle"
:rules="[rules.noSpecialCharactersContactTitle()]"
class="pt-0"
variant="underlined"
:maxlength="255"
Expand Down
Loading