Skip to content

Commit 919b402

Browse files
committed
feat: add initial value to subject display length
1 parent 35d993a commit 919b402

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/web/src/features/group/components/ManageGroupForm.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export type ManageGroupFormProps = {
2222
accessibleInteractiveInstrumentIds: Set<string>;
2323
defaultIdentificationMethod?: SubjectIdentificationMethod;
2424
idValidationRegex?: null | string;
25+
subjectIdDisplayLength?: number;
2526
};
2627
};
2728
onSubmit: (data: Partial<UpdateGroupData>) => Promisable<any>;
@@ -151,7 +152,8 @@ export const ManageGroupForm = ({ data, onSubmit, readOnly }: ManageGroupFormPro
151152
idValidationRegexErrorMessage: {
152153
en: data.idValidationRegexErrorMessageEn,
153154
fr: data.idValidationRegexErrorMessageFr
154-
}
155+
},
156+
subjectIdDisplayLength: data.subjectIdDisplayLength
155157
}
156158
});
157159
}}

0 commit comments

Comments
 (0)