Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Add feature to allow user store only keys in separate property #56

Closed
Ciget opened this issue Jan 18, 2014 · 4 comments
Closed

Add feature to allow user store only keys in separate property #56

Ciget opened this issue Jan 18, 2014 · 4 comments

Comments

@Ciget
Copy link

Ciget commented Jan 18, 2014

Hi guys,

i suggest to implement feature add separate property that will store only key for selected tags.
So, source will be like key value dictionary and when user select some tag from autocomplete - we will store only key for this tag.

Also, is there any way to reject manually entered test if its not matched with any of tags in predefined source.
For example we have in source tree tags: 'aaa', 'bbb', 'ccc'. User manually try to enter value 'ddd'. Currently directive will add it when you finish edit. But for me more usefully case reject entered text if we have no it in source list.

What do you think?

@mbenford
Copy link
Owner

Hi @Ciget.

I guess #46 will likely bring support for the scenario you have described, with one exception: instead of storing just "keys", the directive will store objects containing any properties you want. It'll also allow only tags returned by the autocomplete directive to be added, which I believe addresses your second request.

Best regards.

@Ciget
Copy link
Author

Ciget commented Jan 18, 2014

I`m not sure that second point is exactly what i mean. My point was to prevent user enter and leave this text in input if after some action( lose focus, press enter) entered text does not match with exist tag.

@angeloh
Copy link

angeloh commented Feb 21, 2014

@mbenford #46 has been committed. I need this feature. How can I use it?

@mbenford
Copy link
Owner

@angeloh Just follow the instructions in CONTRIBUTING file, specifically the sections below:

Kind regards.

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

No branches or pull requests

3 participants