welsh trans for validation message
This commit is contained in:
@@ -635,7 +635,7 @@ export function YesNofield(props) {
|
||||
id={props.name}
|
||||
className={"govuk-radios__input"}
|
||||
validate={eval(validation)}
|
||||
errorMsg="Select an option"
|
||||
errorMsg={t("newappeal:select-an-option-label")}
|
||||
component={RenderYesNo}
|
||||
inline={_.has(props, "inline") ? props.inline : "true"}
|
||||
requiredDocumentLabel={props.requiredDocumentLabel}
|
||||
@@ -807,7 +807,7 @@ export function Radiofield(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}
|
||||
@@ -826,7 +826,7 @@ export function Radiofield(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}
|
||||
@@ -930,7 +930,7 @@ export function CheckBoxfield(props) {
|
||||
id={props.id}
|
||||
className={props.className}
|
||||
//validate={[required]}
|
||||
errorMsg="Select an option"
|
||||
errorMsg={t("newappeal:select-an-option-label")}
|
||||
component={RenderCheckBox}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user