welsh trans for validation message

This commit is contained in:
2022-06-14 18:21:47 +01:00
parent cb9995da75
commit b3ce573c9c
6 changed files with 39 additions and 32 deletions
+7 -7
View File
@@ -397,7 +397,7 @@ let AboutYou = (props) => {
options={fieldOptions}
id={name}
validate={[required]}
errorMsg="Select an option"
errorMsg={t("newappeal:select-an-option-label")}
component={RenderRadio}
inline={props.inline}
hint={props.hint}
@@ -416,7 +416,7 @@ let AboutYou = (props) => {
options={fieldOptions}
id={name}
validate={[required]}
errorMsg="Select an option"
errorMsg={t("newappeal:select-an-option-label")}
component={RenderRadio}
inline={props.inline}
hint={props.hint}
@@ -508,7 +508,7 @@ let AboutYou = (props) => {
id={"pinswg_appellantagent"}
className="govuk-radios__input"
validate={"[required]"}
errorMsg="Select an option"
errorMsg={t("newappeal:select-an-option-label")}
/>
{appellantAgentValue == "846040000" && (
@@ -583,7 +583,7 @@ let AboutYou = (props) => {
id={"pinswg_contactprefs"}
className="govuk-radios__input"
validate={"[required]"}
errorMsg="Select an option"
errorMsg={t("newappeal:select-an-option-label")}
/>
<Radiofield
name={"pinswg_languagepreference"}
@@ -595,7 +595,7 @@ let AboutYou = (props) => {
id={"pinswg_languagepreference"}
className="govuk-radios__input"
validate={"[required]"}
errorMsg="Select an optionqqq"
errorMsg={t("newappeal:select-an-option-label")}
/>
</>
)}
@@ -740,7 +740,7 @@ let AboutYou = (props) => {
id={"pinswg_contactprefs"}
className="govuk-radios__input"
validate={[required]}
errorMsg="Select an option"
errorMsg={t("newappeal:select-an-option-label")}
/>
<Radiofield
name={"pinswg_languagepreference"}
@@ -752,7 +752,7 @@ let AboutYou = (props) => {
id={"pinswg_languagepreference"}
className="govuk-radios__input"
validate={[required]}
errorMsg="Select an optionwww"
errorMsg={t("newappeal:select-an-option-label")}
/>
</>
)}