-
Notifications
You must be signed in to change notification settings - Fork 812
Added Ability to display label instead of va 8000 lue #80
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
base: master
Are you sure you want to change the base?
Conversation
A bug that I discovered is that the ID and not the label will be displayed if a person keys over to the appropriate entry. |
Excellent feature !! |
Doesn't appear to work when using the down key to select an autocomplete option. |
It's ok when I use mouse to select the autocomplete option. But if I use the down key it will display ID instead of label. |
@n3ISe I've fixed that issue in my fork: https://github.com/jjlharrison/tag-it |
Thanks @jjlharrison |
+1 You could create a branch with this and refactor later. |
@n3ISe To fix the issue with key down you have to implement a function for autocomplete 'focus' property,like this:
Also,When tareko's changes are going to be merged into the master repository ? |
+1. Would be really nice to add this feature. If not ready for merge, what is missing? We may perhaps help? :) |
Any update on this? |
I was able to fix this issue by editing my jquery-ui.js 8000 file. I am using jQuery UI version 1.10.4, it was on line 2267. I needed to change:
to
|
+1, started integrating this plugin but realized I can't use it in its current state. |
+1 |
Not all use cases involve the Value and Label being the same. This functionality makes it so that 'label' will be displayed, while 'value' will be submitted to the form.
Some if/then statements mean that if no Label is found, the Value is used - as before.