Skip to content

Commit 6563e1d

Browse files
committed
🛂(frontend) limit input search to 254 characters
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.
1 parent 4e6bf7e commit 6563e1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frontend/apps/impress/src/components/quick-search/QuickSearchInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const QuickSearchInput = ({
6565
role="combobox"
6666
placeholder={placeholder ?? t('Search')}
6767
onValueChange={onFilter}
68+
maxLength={254}
6869
/>
6970
</Box>
7071
{separator && <HorizontalSeparator $withPadding={false} />}

0 commit comments

Comments
 (0)