Open ghost opened 9 years ago
I think what you are asking for is a tag-based autocomplete (StackOverflow style). I'd love to add that but I don't have the bandwidth at the moment.
I'm sure you could hack something up. I'd be happy to take a look and see if I can improve on it for the master branch.
It could be made with a "separator" option, perhaps? Then, if it received the separator option, like ",", it doesn't treat it as a chat text, but as a list, instead. This way, it should simple start looking for the values as the user starts typing, and for each entry, add a the separator + " ". It could event add an "x" to remove a tag from inside de element. Although, I think it would be better if it wasn't an input, but an editable html element, instead.
Hi there,
for a meteor project I need an autocomplete form and stumbled upon this cool project. What i want seems a little different, I need a multiple autocomplete, like the @aaaa - @tttt example only without the '@'. Is this possible? Users should be able to input several words from one collection, comma separated or not doesn't matter. Like e.g. a listing of NFL-teams in one input line; the user could input "SF 49ers, Seattle Seahawks ..." and with every word a new dropdown list should be presented.
Can this easily be hacked in a fork?
Regards