Skip to content

Use DataSet.display or DataSet.displayKey? #127

@holtkamp

Description

@holtkamp

When migrating from (the abandoned) https://github.com/twitter/typeahead.js to (the maintained) https://github.com/corejavascript/typeahead.js, I reviewed some configuration aspects and noticed that we use a callback function when configuring a DataSet with property name displayKey, while:

Is either display or displayKey preferred? Might it be an idea to add displayKey to the documentation? Or will it be deprecated

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