Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Multiple values for Autocompleter

#403

Trying to think of a way we could get this working with multiple comma separated values

Example:

  1. I type in "Ru" then select "Ruby" and press enter (input value = "Ruby, ")

  2. 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.

Reported by activestylus · November 12th, 2010 @ 02:43 AM

State: resolved
Milestone: none
Assigned to: MadRabbit MadRabbit

Activity

  1. MadRabbit
    MadRabbit
    • Tag changed from autocompleter to feature-request, tagscompleter

    You want a tagscompleter right? I think it should be a separated widget.

    November 12th, 2010 @ 10:27 AM

  2. activestylus
    activestylus

    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.

    November 12th, 2010 @ 12:45 PM

  3. activestylus
    activestylus

    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: ','}

    December 29th, 2010 @ 04:45 AM

  4. MadRabbit
    MadRabbit
    • Tag changed from feature-request, tagscompleter to feature-request, tags, ui
    • State changed from new to resolved

    April 3rd, 2011 @ 07:21 PM

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.