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

Form action not updated with selected autocomplete value #223

Closed
wants to merge 1 commit into from

Conversation

pjmatos
Copy link
Contributor

@pjmatos pjmatos commented May 31, 2015

The problem is that the form element value is still with the old value when the form action gets updated. For instance, if we type the words "exa" and select (with the mouse because with the keyboard works okay) the word "example" from the autocomplete list, the form action becomes "searchword= exa". There is also an additional (and unnecessary) white space next to the equal sign that is trimmed now.

@pjmatos
Copy link
Contributor Author

pjmatos commented May 31, 2015

@ggppdk
Copy link
Member

ggppdk commented Jun 5, 2015

Fixed this on the server side that returns the suggested words list, the leading space is now added only when at least 1 word is already in the text area

@ggppdk ggppdk closed this Jun 5, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants