welsh trans for questionnaire
This commit is contained in:
+7
-4
@@ -23,8 +23,10 @@ import { select } from "xpath";
|
||||
import jsonpath from "jsonpath";
|
||||
import { getFormCollectionByID } from "../../../../components/utils";
|
||||
|
||||
let S78_Questionnaire = (props) => {
|
||||
let { t } = useTranslation();
|
||||
let S78_Questionnaire = async (props) => {
|
||||
//let { t } = useTranslation();
|
||||
|
||||
let t = await getT(props.reqQuery.__nextLocale, "common");
|
||||
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
@@ -953,7 +955,6 @@ let S78_Questionnaire = (props) => {
|
||||
validate={[required]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="govuk-form-group">
|
||||
{onBehalfOfLPA}
|
||||
<Field
|
||||
@@ -974,11 +975,13 @@ let S78_Questionnaire = (props) => {
|
||||
id="signedDate"
|
||||
label={t("myrepresentations:s78-section-question-date")}
|
||||
component={RenderDatePicker}
|
||||
validate={[required]}
|
||||
//validate={[required]}
|
||||
errorMsg="Select a date"
|
||||
dateStart="0"
|
||||
dateEnd="1-y"
|
||||
locale={locale}
|
||||
/>
|
||||
ss
|
||||
</fieldset>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user