Skip to content

#4341 Form.html: maxlength for search text input field #4342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pi-phi
Copy link

@pi-phi pi-phi commented Apr 1, 2025

What this pr does

inserting maxlength="50" to input field of search form

How to test

focus a search field with active auto suggest function. hold down the space key and fill the input field with spaces.
before:
watch the server log as requests with longer and longer search string appear until the server is locked up
after:
just a few request appear as after 50 characters no further changes to the input text appear and trigger further AJAX requests

Fixes: #4341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Autosuggest requiest count limitation
1 participant