Multiple values for Autocompleter
Reported by activestylus | November 12th, 2010 @ 02:43 AM
Trying to think of a way we could get this working with multiple comma separated values
Example:
-
I type in "Ru" then select "Ruby" and press enter (input value = "Ruby, ")
-
I type in "Ja" then select "Java" and press enter (input value = "Ruby, Java, ")
We could have some additional options {multiple: false, delimiter: ', '}
I think this could be a valuable feature, which can someday lead to more fancy UI enhancements. Something like this would totally kick ass: http://loopj.com/tokeninput/demo.html (The tags field right on this lighthouse app also does the same thing.. pretty sweet)
Maybe another option could be {facebookStyle : true} ?
Let me know what you think.
Comments and changes to this ticket
-
MadRabbit November 12th, 2010 @ 10:27 AM
- Tag changed from autocompleter to feature-request, tagscompleter
You want a tagscompleter right? I think it should be a separated widget.
-
activestylus November 12th, 2010 @ 12:45 PM
Yes that would be a good idea. I was trying to enhance the existing code till I realized I'd have to rip a good chunk of it out and sprinkle lots of unnecessary logic around.
-
activestylus December 29th, 2010 @ 04:45 AM
Looking at other autocomplete plugins they usually bundle tags and single strings together
http://jqueryui.com/demos/autocomplete/
Since RightJS is so OO and flexible, why create a separate widget?
For usability sake it would just be great to just have a couple of options {multiple: true, delimiter: ','}
-
MadRabbit April 3rd, 2011 @ 07:21 PM
- Tag changed from feature-request, tagscompleter to feature-request, tags, ui
- State changed from new to resolved
here you go! http://rightjs.org/ui/tags
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RightJS Core Tickets