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

On click result item changing input text #132

Open
slawkens opened this issue Sep 11, 2021 · 1 comment
Open

On click result item changing input text #132

slawkens opened this issue Sep 11, 2021 · 1 comment

Comments

@slawkens
Copy link

Hello,

I didn't knew where to post it, as I didn't found any forum or chat for this plugin.

Is there any way to disable the behaviour that when you click on the Result Item (popup) then it automatically changes the input value of the field? I want to preserve the original query the user wrote, and not the one resulted by the API.

Thanks in advance.

@BozoJim
Copy link
Collaborator

BozoJim commented Jul 29, 2022

The effect is likely being caused by this:

I'm sure this could be wrapped in an if check and attached to something like preserve_input or something.
PRs welcome.

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