From 4f2e07f949b0d737a7eb22bbf663d18d69072d73 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 8 Sep 2025 17:55:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=82(frontend)=20limit=20input=20search?= =?UTF-8?q?=20to=20254=20characters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 254 characters should be sufficient for most of our usecases. Limit input search to 254 characters to prevent errors caused by overly long email addresses. --- .../impress/src/components/quick-search/QuickSearchInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/apps/impress/src/components/quick-search/QuickSearchInput.tsx b/src/frontend/apps/impress/src/components/quick-search/QuickSearchInput.tsx index 88185a5c..e67f6ca8 100644 --- a/src/frontend/apps/impress/src/components/quick-search/QuickSearchInput.tsx +++ b/src/frontend/apps/impress/src/components/quick-search/QuickSearchInput.tsx @@ -64,6 +64,7 @@ export const QuickSearchInput = ({ role="combobox" placeholder={placeholder ?? t('Search')} onValueChange={onFilter} + maxLength={254} /> {separator && }