Skip to content

AJAX results should not be filtered? #32

@carlosescri

Description

@carlosescri

I don't know if this is correct but, when I configure an AJAX call to give results to Typeahead it is supposed that results are filtered. As typeahead searchs for the querystring in the results If one of them hasn't it then it is not displayed.

query: 'asdf' # My database object has a field with that value
result: {id: 3, name: 'John Smith'} # Not displayed because 'asdf' is not contained in 'John Smith'

I know this is issue occurs because I'm using typeahead as a classic autocomplete, but I'm sure that other users are going to use it in the same way. I've fixed this in my results appending the field where the string was found, but it would be nice if we have an option for disabling filtering when using AJAX.

Cheers,

C.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions