diff --git a/apps/modernization-ui/src/apps/patient/data/sexAndBirth/SexAndBirthEntryFields.tsx b/apps/modernization-ui/src/apps/patient/data/sexAndBirth/SexAndBirthEntryFields.tsx index 90cbfe5959..0ebdaa4da3 100644 --- a/apps/modernization-ui/src/apps/patient/data/sexAndBirth/SexAndBirthEntryFields.tsx +++ b/apps/modernization-ui/src/apps/patient/data/sexAndBirth/SexAndBirthEntryFields.tsx @@ -132,7 +132,8 @@ export const SexAndBirthEntryFields = ({ orientation = 'horizontal' }: SexAndBir ( + rules={maxLengthRule(20)} + render={({ field: { onChange, onBlur, value, name }, fieldState: { error } }) => ( )} />