questionnaire defect 22 and 9
This commit is contained in:
@@ -367,8 +367,7 @@ export const RenderLPACondtionalRadioList = ({
|
||||
...custom
|
||||
}) => {
|
||||
const required = (value) => (value ? undefined : "Required");
|
||||
|
||||
//console.log(error);
|
||||
let { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -401,7 +400,12 @@ export const RenderLPACondtionalRadioList = ({
|
||||
</label>
|
||||
</legend>
|
||||
|
||||
<div id={id + "-hint"} className="govuk-hint"></div>
|
||||
{typeof custom.hint != undefined && (
|
||||
<div id={id + "-hint"} className="govuk-hint">
|
||||
{t(custom.hint)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="govuk-radios govuk-radios--small">
|
||||
{Object.keys(options).map((key, index) => (
|
||||
<div key={key} className="govuk-!-margin-bottom-3">
|
||||
|
||||
+2
@@ -814,6 +814,7 @@ let S78_Questionnaire = (props) => {
|
||||
legend={t(
|
||||
"myrepresentations:s78-section-question-27"
|
||||
)}
|
||||
hint={t("myrepresentations:s78-footnote-two")}
|
||||
conditionalLabel={t(
|
||||
"myrepresentations:s78-section-question-27-hint"
|
||||
)}
|
||||
@@ -866,6 +867,7 @@ let S78_Questionnaire = (props) => {
|
||||
legend={t(
|
||||
"myrepresentations:s78-section-question-29"
|
||||
)}
|
||||
hint={t("myrepresentations:s78-footnote-one")}
|
||||
conditionalLabel={t(
|
||||
"myrepresentations:s78-section-question-29-hint"
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user