When the input used for searching is part of a form with other fields,
its very easy to use the Enter to select an option, but then also to press Enter and submit the whole form,
which I did accidentally many times.
data-autocomplete-submit-on-enter-value="false" - does not do what I would expect.
When the input used for searching is part of a form with other fields, its very easy to use the
Enter
to select an option, but then also to pressEnter
and submit the whole form, which I did accidentally many times.data-autocomplete-submit-on-enter-value="false" - does not do what I would expect.
This worked for me.