rep pdf questionnaire variants
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
RenderRichMultiline,
|
||||
RenderFileUpload,
|
||||
FileUploadField,
|
||||
RepresentationGuidanceText,
|
||||
} from "./representationElements";
|
||||
import {
|
||||
getFormCollectionByID,
|
||||
@@ -56,14 +57,20 @@ const RepAppellant = (props) => {
|
||||
>
|
||||
What kind of representation are you making?
|
||||
</label>
|
||||
<Field
|
||||
name="representationType"
|
||||
component={RenderPickList}
|
||||
datafieldname="representationType"
|
||||
optionsArr={appellantApplicantRepresentationArr}
|
||||
/>
|
||||
|
||||
{typeof props.representationType == "undefined" ? (
|
||||
<Field
|
||||
name="representationType"
|
||||
component={RenderPickList}
|
||||
datafieldname="representationType"
|
||||
optionsArr={appellantApplicantRepresentationArr}
|
||||
/>
|
||||
) : (
|
||||
<p>{props.representationType}</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* <div className="govuk-grid-row">
|
||||
<div className="govuk-form-group">
|
||||
<Field
|
||||
@@ -102,6 +109,9 @@ const RepAppellant = (props) => {
|
||||
className="govuk-textarea govuk-input--width-30"
|
||||
aria-describedby={props.name + "-hint"}
|
||||
/>
|
||||
{RepresentationGuidanceText(
|
||||
formObj.representationForm.values.appealType
|
||||
)}
|
||||
</div>
|
||||
<div className="govuk-form-group govuk-!-margin-bottom-9">
|
||||
<FileUploadField
|
||||
|
||||
Reference in New Issue
Block a user