watched case and stop wathcing case added

This commit is contained in:
2021-11-04 12:03:01 +00:00
parent 3283b92138
commit 449b089aba
23 changed files with 675 additions and 179 deletions
+10 -5
View File
@@ -37,16 +37,21 @@ const RenderTextfield = ({
}
>
<div id="basicSearch-hint" className="govuk-hint ">
<span className="govuk-body-m">{hint1}</span>
<label
className="govuk-label "
htmlFor={id}
id={id + "_label"}
>
{label}
<span className="govuk-body-m">{hint1}</span>
</label>
<br />
<span className="govuk-body-s">
{hint2} CAS-00009-W8N6W4
</span>
</div>
<label className="govuk-label " htmlFor={id} id={id + "_label"}>
{label}
</label>
{touched && error && (
<span id={id + "-error"} className="govuk-error-message">
<span className="govuk-visually-hidden">Error:</span>{" "}
@@ -76,7 +81,7 @@ let CaseSearch = (props) => {
const onHandleSubmit = (values) => {
spinnerState();
router.replace({
router.push({
pathname:
router.locale == "cy"
? "/fymhorth/canlyniadauchwilio"