-
Notifications
You must be signed in to change notification settings - Fork 340
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
Autocomplete template broken #1112
Comments
Found the issue. It was Porto related (no surprises here I suppose). For those interested in solving I had to change the code in
replacing the old block with the ElasticSuite block but also adding all the arguments (other posts suggest only the replacing of the block:
Following this change autocomplete now works. Closing ticket |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In latest version the autocomplete is broken due to wrong element types being expected in the list.
In specific the items are rendered wrongly due to missing styling and they are not clickable due to incorrect selector.
Preconditions
Magento 2.2
ElasticSuite 2.6
Environment : Development
Third party modules :
(too many to mention - none of which should or is effecting this)
Porto and Destino theme however
Steps to reproduce
Expected result
Actual result
The source behind the issue:
smile/elasticsuite/src/module-elasticsuite-core/view/frontend/web/js/form-mini.js : 31
Above the
responseFieldElements
is set todl dd
when the QuickSearch widget is actually passing the template ofli
.Through the specified file there are references to
dl
anddd
as well causing breakage.What I do not understand is that ES seems to have kept the pattern of
dl dd
throughout all versions of this file and Magento is not matching them anywhere so what am I missing here?! How can I confirm this is in fact an error or another element is not correctly being overwritten?The text was updated successfully, but these errors were encountered: