welsh trans for validation message
This commit is contained in:
@@ -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")}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user