Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Lookup field with a dynamic autocompletion #112

Open
osher opened this issue Dec 13, 2017 · 0 comments
Open

A Lookup field with a dynamic autocompletion #112

osher opened this issue Dec 13, 2017 · 0 comments

Comments

@osher
Copy link

osher commented Dec 13, 2017

This is a rather advanced thing, and I'm not sure it's totally possible within the specs, but here's the use case.

I got a schema that describes an object, where this object holds numeric identifiers referrencing other entities.
The referenced entities are not only user-defined, but very big in size, and therefore cannot be expressed as Enums.

Ideally, I would like a lookup field where which is a user-facing text-field, but the data-underlying is a numeric id. Obviously, the lookup can be done by a the library user, as a function that accepts the user-input and resolves to a list of auto-suggested options from which the user may chose, each expressed by front-facing title, and underlying ID.

Basically, for me - all these lookups are for many-to-many relations.
But I can think of many other use-cases - like translating addresses to long/lat pairs vs a geo-location service, etc.

If you can propose a way to accomplish this - I may even be able to work on this with you.
I'll just need to understand the implementation vision and some point to the right direction 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant