Meteor-Community-Packages / Meteor-Community-Packages/meteor-autocomplete

Use different value for saving vs display

Open
#103 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CoffeeScript
Stars
350
Forks
106
PR merge metrics
No merged PRs in 30d

Description

Hi

Is there a way to use the _id field of a document for saving to a collection but for searching and displaying, using a different field?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the autocomplete component currently uses a document's _id for saving, searching, and displaying values. Determine the intended separation between those three uses and document the relevant collection and reactivity entry points; the work is done when the requested behavior and its expected configuration are unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.