-
Notifications
You must be signed in to change notification settings - Fork 124
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
Bug/Feature Request: Search data other than "textField" using AJAX #134
Comments
I've run into another example of this problem. I'm querying a database and removing characters such as spaces and periods and the results are being returned, but the plugin is stripping them out if they don't match what has been typed in. This is weird behavior IMO... Example: |
"If the user searches 010 I want the result to appear. The plugin should just be responsible for showing the results of an ajax query, not filtering them out." If any one else is having this problem and if you are only going to use AJAX and are dependent on .js version of this module.. Dirty fix is. Change line |
When using
typeahead-url
, it seems reasonable to include other searchable columns besides the one appearing in thetextField
.Example: Search for a list of users by
name
oremail
, but tag value is byname
. The query will return the correct list of data, but the plugindoSearch
function is filtering them out in the comparable mapping.The text was updated successfully, but these errors were encountered: