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

Possible enhancement - disable submit on search field. #3184

Closed
JupiterJones opened this issue Jun 25, 2020 · 1 comment
Closed

Possible enhancement - disable submit on search field. #3184

JupiterJones opened this issue Jun 25, 2020 · 1 comment

Comments

@JupiterJones
Copy link

I find I need to hack the search field whenever the elFinder component is located within a form to prevent the form submitting when the user searches for files:

$(".elfinder-button-search input").keypress(function(){if(event.which=="13"){event.preventDefault()}})

Maybe this should be the default behaviour, or an option.

@nao-pon
Copy link
Member

nao-pon commented Jun 9, 2021

Issue only accepts bug report and document request, so I'll close it.

Others can be posted to Discussions. Please post to Discussions if necessary.

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

No branches or pull requests

2 participants