Skip to content
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

Add input form autofocus switch #118

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

Conversation

ae3ch
Copy link

@ae3ch ae3ch commented Apr 22, 2021

If you want to place the TNTSearch Input field anywhere on a page (for example in sidebar), the input field is automatically activated because an autofocus HTML5 tag (https://www.w3schools.com/tags/att_input_autofocus.asp) is set.

This pull request is to add a switch to disable this behavior if needed.

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.

None yet

1 participant