Skip to content

Commit

Permalink
Merge pull request #295 from CBIIT/CRDCDH-827
Browse files Browse the repository at this point in the history
CRDCDH-827 Submission Request Section B Updates
  • Loading branch information
amattu2 authored Mar 4, 2024
2 parents 593261e + f91f15e commit 2856906
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/Questionnaire/PlannedPublication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const PlannedPublication: FC<Props> = ({
label="Publication Title"
name={`study[plannedPublications][${index}][title]`}
value={title}
placeholder="Enter title"
maxLength={100}
placeholder="500 characters allowed"
maxLength={500}
gridWidth={12}
required
readOnly={readOnly}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Questionnaire/Publication.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const Publication: FC<Props> = ({
label="Publication Title"
name={`study[publications][${index}][title]`}
value={title}
placeholder="Enter Publication Title"
maxLength={100}
placeholder="500 characters allowed"
maxLength={500}
gridWidth={12}
required
readOnly={readOnly}
Expand Down
2 changes: 1 addition & 1 deletion src/config/SectionMetadata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const sectionMetadata = {
},
REPOSITORY: {
title: "REPOSITORY",
description: "Add repository if your study has submitted data to a non-CRDC repository.",
description: "Add repository if your data has been submitted to another repository",
},
}
},
Expand Down
8 changes: 4 additions & 4 deletions src/content/questionnaire/sections/B.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ const FormSectionB: FC<FormSectionProps> = ({ SectionOption, refs }: FormSection
value={predefinedProgram ? programOption?.abbreviation : program?.abbreviation}
filter={(input: string) => filterAlphaNumeric(input, "- ")}
onChange={(e) => { e.target.value = e.target.value.toUpperCase(); }}
maxLength={20}
placeholder="20 characters allowed"
maxLength={100}
placeholder="100 characters allowed"
hideValidation={readOnlyProgram}
required
readOnly={readOnlyProgram}
Expand Down Expand Up @@ -444,12 +444,12 @@ const FormSectionB: FC<FormSectionProps> = ({ SectionOption, refs }: FormSection
/>
<TextInput
id="section-b-if-yes-provide-dbgap-phs-number"
label="If yes, provide dbGaP PHS number"
label="If yes, provide dbGaP PHS number with the version number"
name="study[dbGaPPPHSNumber]"
value={dbGaPPPHSNumber}
onChange={(e) => setDbGaPPPHSNumber(e.target.value || "")}
maxLength={50}
placeholder="50 characters allowed"
placeholder={"Ex/ \"phs002529.v1.p1\". 50 characters allowed"}
gridWidth={12}
readOnly={readOnlyInputs || !isDbGapRegistered}
required={isDbGapRegistered}
Expand Down

0 comments on commit 2856906

Please sign in to comment.