File tree Expand file tree Collapse file tree
components/dataset/_shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ export default function SearchHero({
3030 < section className = { `grid row-start-3 row-span-2 col-span-full pt-4 ` } >
3131 < div className = { `custom-container bg-white ${ styles . shadowMd } ` } >
3232 < div className = "" >
33- < form className = "min-h-[70px] flex flex-col lg:flex-row bg-white pr-5 py-3 rounded-xl" >
33+ < form className = "min-h-[70px] flex flex-col lg:flex-row bg-white pr-5 py-3 rounded-xl" onSubmit = { e => {
34+ e . preventDefault ( ) ;
35+ return false ;
36+ } } >
3437 < input
3538 type = "text"
3639 placeholder = { `Search for ${ title } ` }
@@ -43,6 +46,12 @@ export default function SearchHero({
4346 value = { searchValue }
4447 aria-label = { `Search ${ title } ` }
4548 />
49+ < button
50+ type = "submit"
51+ className = "sr-only"
52+ >
53+ Submit
54+ </ button >
4655 </ form >
4756 </ div >
4857 </ div >
You can’t perform that action at this time.
0 commit comments