From f1778ee47d933be0d27811c591e6b914acb8b9dd Mon Sep 17 00:00:00 2001 From: Liam Johnston Date: Fri, 5 Jul 2024 15:00:17 +1200 Subject: [PATCH] Fix react version, and reorder radios to match html --- .../components/SearchForm/SearchForm.tsx | 31 ++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/cdhweb/static_src/components/SearchForm/SearchForm.tsx b/cdhweb/static_src/components/SearchForm/SearchForm.tsx index 3692231d..99b89f87 100644 --- a/cdhweb/static_src/components/SearchForm/SearchForm.tsx +++ b/cdhweb/static_src/components/SearchForm/SearchForm.tsx @@ -28,6 +28,7 @@ const SearchForm = ({ searchUrl, extraClasses }: Props): JSX.Element => { type="radio" name="filter" id={`${uniqueId}_everything`} + value="everything" checked /> @@ -35,20 +36,35 @@ const SearchForm = ({ searchUrl, extraClasses }: Props): JSX.Element => {
- +
- - + +
- - + +
@@ -56,9 +72,10 @@ const SearchForm = ({ searchUrl, extraClasses }: Props): JSX.Element => { - +