Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !6854

typeahead: do not store item data in an attribute

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/fsateler/typeahead-no-data-attribute into 3.0.0-wip Feb 08, 2013
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: fsateler

By using a data-value attribute, each item is forcefully converted into a string. If the items are not simple values, the resulting retrieval is useless at select time.

Storing it with the jQuery data function instead means the object is stored without problems.

This is the same as #6741 and #6847, rebased against the 3.0.0-wip branch

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/fsateler/typeahead-no-data-attribute