mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-28 10:49:51 +02:00
🛂(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.
This commit is contained in:
@@ -64,6 +64,7 @@ export const QuickSearchInput = ({
|
||||
role="combobox"
|
||||
placeholder={placeholder ?? t('Search')}
|
||||
onValueChange={onFilter}
|
||||
maxLength={254}
|
||||
/>
|
||||
</Box>
|
||||
{separator && <HorizontalSeparator $withPadding={false} />}
|
||||
|
||||
Reference in New Issue
Block a user