questionnaire defect 22 and 9

This commit is contained in:
2025-01-07 08:01:25 +00:00
parent 29d8090630
commit 086942df7a
3 changed files with 11 additions and 5 deletions
@@ -367,8 +367,7 @@ export const RenderLPACondtionalRadioList = ({
...custom ...custom
}) => { }) => {
const required = (value) => (value ? undefined : "Required"); const required = (value) => (value ? undefined : "Required");
let { t } = useTranslation();
//console.log(error);
return ( return (
<> <>
@@ -401,7 +400,12 @@ export const RenderLPACondtionalRadioList = ({
</label> </label>
</legend> </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"> <div className="govuk-radios govuk-radios--small">
{Object.keys(options).map((key, index) => ( {Object.keys(options).map((key, index) => (
<div key={key} className="govuk-!-margin-bottom-3"> <div key={key} className="govuk-!-margin-bottom-3">
@@ -814,6 +814,7 @@ let S78_Questionnaire = (props) => {
legend={t( legend={t(
"myrepresentations:s78-section-question-27" "myrepresentations:s78-section-question-27"
)} )}
hint={t("myrepresentations:s78-footnote-two")}
conditionalLabel={t( conditionalLabel={t(
"myrepresentations:s78-section-question-27-hint" "myrepresentations:s78-section-question-27-hint"
)} )}
@@ -866,6 +867,7 @@ let S78_Questionnaire = (props) => {
legend={t( legend={t(
"myrepresentations:s78-section-question-29" "myrepresentations:s78-section-question-29"
)} )}
hint={t("myrepresentations:s78-footnote-one")}
conditionalLabel={t( conditionalLabel={t(
"myrepresentations:s78-section-question-29-hint" "myrepresentations:s78-section-question-29-hint"
)} )}
+2 -2
View File
@@ -206,8 +206,8 @@
"s78-heading-para-one": "For Planning, Conservation area, Listed Building and Advertisement applications/appeals", "s78-heading-para-one": "For Planning, Conservation area, Listed Building and Advertisement applications/appeals",
"s78-heading-para-two": "The LPA must send the completed questionnaire and any attachments to PEDW.casework@gov.wales and the appellant (or their agent) within 5 working days of the start date specified in our start letter", "s78-heading-para-two": "The LPA must send the completed questionnaire and any attachments to PEDW.casework@gov.wales and the appellant (or their agent) within 5 working days of the start date specified in our start letter",
"section-heading-zero": "Case Details", "section-heading-zero": "Case Details",
"s78-footnote-one": "* Article 11 of The Town and Country Planning (Development Management Procedure) (Wales) Order 2012; Regulation 7 of The Town and Country Planning (Listed Buildings and Conservation Areas) (Wales) Regulations 2012", "s78-footnote-one": "Article 11 of The Town and Country Planning (Development Management Procedure) (Wales) Order 2012; Regulation 7 of The Town and Country Planning (Listed Buildings and Conservation Areas) (Wales) Regulations 2012",
"s78-footnote-two": "** Article 12 of The Town and Country Planning (Development Management Procedure) (Wales) Order 2012; Section 67/73 of The Town and Country Planning (Listed Buildings and Conservation Areas) Act 1990; Regulation 10 of The Town and Country Planning (Listed Buildings and Conservation Areas) (Wales) Regulations 2012", "s78-footnote-two": "Article 12 of The Town and Country Planning (Development Management Procedure) (Wales) Order 2012; Section 67/73 of The Town and Country Planning (Listed Buildings and Conservation Areas) Act 1990; Regulation 10 of The Town and Country Planning (Listed Buildings and Conservation Areas) (Wales) Regulations 2012",
"statement-case-type-label": "Case type", "statement-case-type-label": "Case type",
"statement-representation-capacity-label": "Representation capacity", "statement-representation-capacity-label": "Representation capacity",
"statement-representation-capacity-details-label": "Representation capacity details", "statement-representation-capacity-details-label": "Representation capacity details",