From 2804728881e33b2a88ff1f670b9fbe9280757d6b Mon Sep 17 00:00:00 2001 From: Bartosz Dokurno Date: Thu, 15 Dec 2022 23:02:46 +0100 Subject: [PATCH] Limit search input to 500 chars --- src/components/header/Search.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/header/Search.tsx b/src/components/header/Search.tsx index ac20949..863241f 100644 --- a/src/components/header/Search.tsx +++ b/src/components/header/Search.tsx @@ -29,6 +29,7 @@ function Search(): JSX.Element { className="gpr-search" data-testid="gpr-search-input" type="text" + maxLength={500} value={pickerContext.searchTerm} onChange={onChange} />