Skip to content

How can I add an ID - Field to the search? #290

Open
@brenoman

Description

@brenoman

Example, There's a model with id and name
When the autocomplete makes the search, it looks for the name and displays the name.
I would like to search for ID or Name and I would like for it to return me in this format:
"ID - Name", instead of just "Name"
How can I accomplish that without changing the gem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      How can I add an ID - Field to the search? · Issue #290 · crowdint/rails3-jquery-autocomplete