diff --git a/src/components/02_personnel-management/FormInformation.vue b/src/components/02_personnel-management/FormInformation.vue index 3d6330dd..fc9067e1 100644 --- a/src/components/02_personnel-management/FormInformation.vue +++ b/src/components/02_personnel-management/FormInformation.vue @@ -206,7 +206,7 @@ watch( :rules="[ (val: string) => val.length > 2 || $t('form.error.required'), (val: string) => - (val.length > 0 && /^[a-zA-Z0-9]+$/.test(val)) || + (val.length > 0 && /^[a-zA-Z0-9\s_]+$/.test(val)) || $t('form.error.letterAndNumOnly'), ]" />