diff --git a/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue b/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue index 6eb88992..b1eb5ec8 100644 --- a/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue +++ b/resources/src/models/AuthorEmployment/components/AddAuthorEmploymentDialog.vue @@ -65,7 +65,7 @@ async function createAuthorEmployment() { :label="t('orcid-employment-edit.role-title')" outlined :rules="[(val: string|null) => !!val || t('common.required'), - (val: string) => val.length <= 50 || t('common.validation.must-be-less-than-x-characters', [50]), + (val: string) => val.length <= 255 || t('common.validation.must-be-less-than-x-characters', [255]), ]" class="q-mb-md" /> @@ -74,7 +74,7 @@ async function createAuthorEmployment() { :label="t('orcid-employment-edit.department-name')" outlined :rules="[(val: string|null) => !!val || t('common.required'), - (val: string) => val.length <= 50 || t('common.validation.must-be-less-than-x-characters', [50]), + (val: string) => val.length <= 255 || t('common.validation.must-be-less-than-x-characters', [255]), ]" class="q-mb-md" :hint="t('orcid-employment-edit.department-name-hint')" diff --git a/resources/src/models/AuthorEmployment/components/EditAuthorEmploymentDialog.vue b/resources/src/models/AuthorEmployment/components/EditAuthorEmploymentDialog.vue index d590de36..a315aab6 100644 --- a/resources/src/models/AuthorEmployment/components/EditAuthorEmploymentDialog.vue +++ b/resources/src/models/AuthorEmployment/components/EditAuthorEmploymentDialog.vue @@ -78,7 +78,7 @@ function deleteAuthorEmployment() { :label="t('orcid-employment-edit.role-title')" outlined :rules="[(val: string|null) => !!val || t('common.required'), - (val: string) => val.length <= 50 || t('common.validation.must-be-less-than-x-characters', [50]), + (val: string) => val.length <= 255 || t('common.validation.must-be-less-than-x-characters', [255]), ]" class="q-mb-md" /> @@ -87,7 +87,7 @@ function deleteAuthorEmployment() { :label="t('orcid-employment-edit.department-name')" outlined :rules="[(val: string|null) => !!val || t('common.required'), - (val: string) => val.length <= 50 || t('common.validation.must-be-less-than-x-characters', [50]), + (val: string) => val.length <= 255 || t('common.validation.must-be-less-than-x-characters', [255]), ]" class="q-mb-md" :hint="t('orcid-employment-edit.department-name-hint')"