From 71ca122cd101f1001bb75bf7d45b0cf891fca159 Mon Sep 17 00:00:00 2001 From: Eckerman Date: Wed, 18 Oct 2023 16:41:42 -0700 Subject: [PATCH] Remove special char check on contact forms --- .../src/components/institute/EditAuthorityContactPage.vue | 3 +-- .../src/components/institute/EditDistrictContactPage.vue | 4 +--- .../src/components/institute/NewAuthorityContactPage.vue | 3 +-- frontend/src/components/institute/NewDistrictContactPage.vue | 5 ++--- .../components/institute/common/EditSchoolContactPage.vue | 4 +--- .../src/components/institute/common/NewSchoolContactPage.vue | 4 +--- 6 files changed, 7 insertions(+), 16 deletions(-) diff --git a/frontend/src/components/institute/EditAuthorityContactPage.vue b/frontend/src/components/institute/EditAuthorityContactPage.vue index 5cafcd142..2130a662a 100644 --- a/frontend/src/components/institute/EditAuthorityContactPage.vue +++ b/frontend/src/components/institute/EditAuthorityContactPage.vue @@ -29,14 +29,13 @@ v-model="editContact.firstName" class="pt-0" variant="underlined" - :rules="[rules.noSpecialCharactersContactName()]" :maxlength="255" label="First Name" /> @@ -37,7 +36,7 @@ id="newContactLastNameInput" v-model="newContact.lastName" variant="underlined" - :rules="[rules.required(), rules.noSpecialCharactersContactName()]" + :rules="[rules.required()]" class="pt-0" :maxlength="255" label="Last Name" @@ -47,7 +46,6 @@ v-model="newContact.jobTitle" class="pt-0" variant="underlined" - :rules="[rules.noSpecialCharactersContactTitle()]" :maxlength="255" label="Position Title" />