jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
Onclick sometimes passes in text i typed in, not the value of the item I selected
Forgive me I am very unfamiliar with this library I didnt implement it. But we are trying using this during a stock item selection. I can type in the word 'tran' and I get back a list of 15 items...some I click on and it passes the value of my clicked on stock item to the rest of the code that verifies its a valid stock item.
But then some after the I select it passes on the word 'tran' instead like the onclick failed or was replaced with the selection. Can anyone think of why that may happen?
You need to share how you set up the plugin. Otherwise, it’s difficult to pinpoint what might be wrong.