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 29e35ae48..5fae4256d 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 @@ -61,8 +61,8 @@ export const AuthoizationOutcomeForm: FC = ({ id, type, value, leadIdenti return false; } - if (!authorized.match(/^\d{1,10}$/) && !unauthorized) { - setAuthorizedErrorMessage("Invalid format. Please only include numbers."); + if (!authorized.match(/^[\d-/]{1,20}$/) && !unauthorized) { + setAuthorizedErrorMessage("Invalid format. Please only include numbers and ‘-' and '/’ characters."); return false; } @@ -146,7 +146,7 @@ export const AuthoizationOutcomeForm: FC = ({ id, type, value, leadIdenti inputClass="comp-form-control" value={authorized} error={authorizedErrorMessage} - maxLength={10} + maxLength={20} onChange={(evt: any) => { const { target: { value },