diff --git a/frontend/src/app/components/containers/complaints/outcomes/ceeb/authorization-outcome/authorization-outcome-form.tsx b/frontend/src/app/components/containers/complaints/outcomes/ceeb/authorization-outcome/authorization-outcome-form.tsx index 5fae4256d..5190f98fb 100644 --- a/frontend/src/app/components/containers/complaints/outcomes/ceeb/authorization-outcome/authorization-outcome-form.tsx +++ b/frontend/src/app/components/containers/complaints/outcomes/ceeb/authorization-outcome/authorization-outcome-form.tsx @@ -66,8 +66,8 @@ export const AuthoizationOutcomeForm: FC = ({ id, type, value, leadIdenti return false; } - if (!unauthorized.match(/^\d{1,10}$/) && !authorized) { - setUnauthorizedErrorMessage("Invalid format. Please only include numbers."); + if (!unauthorized.match(/^[\d-/]{1,20}$/) && !authorized) { + setUnauthorizedErrorMessage("Invalid format. Please only include numbers and ‘-' and '/’ characters."); return false; } @@ -170,7 +170,7 @@ export const AuthoizationOutcomeForm: FC = ({ id, type, value, leadIdenti inputClass="comp-form-control form-control outcome-authroization-unauthroized-site-input" value={unauthorized} error={unauthorizedErrorMessage} - maxLength={10} + maxLength={20} prefix={{ value: "UA", prefixClassName: "outcome-authroization-unauthroized-site-prefix",