questionnaire defect 41

This commit is contained in:
2025-01-13 14:31:30 +00:00
parent 85f88eb074
commit 8509450ac0
@@ -785,9 +785,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-26"
)}
legend={
"26. " +
t("myrepresentations:s78-section-question-26")
}
hint={t("myrepresentations:s78-footnote-one")}
conditionalLabel={t(
"myrepresentations:s78-section-question-26-hint"
@@ -812,9 +813,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-27"
)}
legend={
"27. " +
t("myrepresentations:s78-section-question-27")
}
hint={t("myrepresentations:s78-footnote-two")}
conditionalLabel={t(
"myrepresentations:s78-section-question-27-hint"
@@ -839,9 +841,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-28"
)}
legend={
"28. " +
t("myrepresentations:s78-section-question-28")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-28-hint"
)}
@@ -865,9 +868,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-29"
)}
legend={
"29. " +
t("myrepresentations:s78-section-question-29")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-29-hint"
)}
@@ -891,9 +895,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-30"
)}
legend={
"30. " +
t("myrepresentations:s78-section-question-30")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-30-hint"
)}
@@ -917,9 +922,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-31"
)}
legend={
"31. " +
t("myrepresentations:s78-section-question-31")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-31-hint"
)}
@@ -943,9 +949,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-32"
)}
legend={
"32. " +
t("myrepresentations:s78-section-question-32")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-32-hint"
)}
@@ -969,9 +976,10 @@ let S78_Questionnaire = (props) => {
)}
component={RenderLPACondtionalRadioList}
validate={[required]}
legend={t(
"myrepresentations:s78-section-question-33"
)}
legend={
"33. " +
t("myrepresentations:s78-section-question-33")
}
conditionalLabel={t(
"myrepresentations:s78-section-question-33-hint"
)}
@@ -996,18 +1004,19 @@ let S78_Questionnaire = (props) => {
ticketnumber={props.props.props.caseReference}
hint={"sdsd"}
fileList={
props.currentView.caseReference.hasOwnProperty(
"repDetails"
)
? props.currentView.caseReference.repDetails.hasOwnProperty(
"filesList"
) &&
props.currentView.caseReference.repDetails
.filesList.length > 0
? props.currentView.caseReference
.repDetails.filesList
: []
: []
props.currentView.fileList
// props.currentView.caseReference.hasOwnProperty(
// "repDetails"
// )
// ? props.currentView.caseReference.repDetails.hasOwnProperty(
// "filesList"
// ) &&
// props.currentView.caseReference.repDetails
// .filesList.length > 0
// ? props.currentView.caseReference
// .repDetails.filesList
// : []
// : []
}
setFilesForRepresentations={
setFilesForRepresentations