Tamerlane
Tamerlane

Reputation: 2103

Dropdown inside textbox/textarea

I am looking for something similar to friends filter in facebook. When you type '@' inside text area it shows you a list of friends to select. I have tried to search for dropdown inside textbox, but was not able to find what I was looking for.

Upvotes: 9

Views: 12963

Answers (5)

Chandan
Chandan

Reputation: 740

Writing this in 2021

Many of the suggested libraries are not actively developed/supported, and haven't been touched in many years.

There is this library called tribute which might be of good help:

Working Example: https://zurb.github.io/tribute/example/

Github Repo: https://github.com/zurb/tribute

Upvotes: 4

Lorenz
Lorenz

Reputation: 775

After playing with all of these options, I have to say that at.js is far and away the better option. Both the podio library and the mentions.js library mentioned in the selected answer are hardly supported any more and full of issues. At.js has over 4000 stars on github, is actively developed, and is just a better piece of software.

http://ichord.github.io/At.js/

Upvotes: 0

Michiel D
Michiel D

Reputation: 136

JQueryUI might be an option here, could just be for reference. JQuery UI autocomplete

Upvotes: 1

zaynetro
zaynetro

Reputation: 2308

This seems quite similar to your needs http://harvesthq.github.io/chosen/

Upvotes: 0

Related Questions