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

Autosuggest triggering in all input[type="search"] #1579

Closed
samikeijonen opened this issue Dec 3, 2019 · 4 comments
Closed

Autosuggest triggering in all input[type="search"] #1579

samikeijonen opened this issue Dec 3, 2019 · 4 comments
Labels
enhancement module:autosuggest Issues related to the Autosuggest functionality

Comments

@samikeijonen
Copy link

samikeijonen commented Dec 3, 2019

Is your enhancement related to a problem? Please describe.
I think autosuggest triggering in all input[type="search"]. In site there can be other search fields which are not related to ElasticSearch.

Describe the solution you'd like
Being able to define which search fields will have autosuggest. This can be class value.

Or set a class which disable autosuggest.

@samikeijonen samikeijonen added the type:enhancement New feature or request. label Dec 3, 2019
@RetroGameTalk
Copy link

Hi, this option already exist on dashboard -> Elasticpress (unless i didn't understand you?)
settings

@samikeijonen
Copy link
Author

samikeijonen commented Dec 5, 2019

@MediaMaquina Is this for additional fields, not actually replacing the default fields? My hunch is yes but I don't have access to that page in my use case.

@mlaroy
Copy link
Contributor

mlaroy commented Dec 10, 2019

@samikeijonen that's right, this field doesn't replace default fields, but only adds to them. Default fields currently include .ep-autosuggest, input[type="search"], and .search-field,

@felipeelia felipeelia added enhancement and removed type:enhancement New feature or request. labels Apr 30, 2021
@felipeelia felipeelia added the module:autosuggest Issues related to the Autosuggest functionality label Mar 31, 2022
@felipeelia
Copy link
Member

FWIW, in #2181 (released in EP 3.6.0) this is possible via code using the ep_autosuggest_default_selectors filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement module:autosuggest Issues related to the Autosuggest functionality
Projects
None yet
Development

No branches or pull requests

4 participants