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

pressing enter to submit doesn't use form's action url #41

Open
v3nt opened this issue Jun 24, 2020 · 0 comments
Open

pressing enter to submit doesn't use form's action url #41

v3nt opened this issue Jun 24, 2020 · 0 comments

Comments

@v3nt
Copy link

v3nt commented Jun 24, 2020

Using this on a search input field. If I press the submit button the form submits to action url /search/test.

However if I use disableAutoFill() on the field pressing ENTER seems to generate a random URL to submit too. ?=ujzykrirf =test.

Not entirely random as it uses the randomly generated name of the input field.

<input id="searchFoundInput" type="search" class="search-field" placeholder="Search by postcode, feature, location type or reference" value="" name="ujzykrirf">

All browsers.

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

1 participant