MaxBk MaxBk - 1 year ago 245
CSS Question

Adding scrollbar to bootstrap tokenfield autocomplete

I couldn't find any documentation or questions about enabling scroll bar on bootstrap's tokenfield autocomplete.

My field has a lot of users form Active Directory and it's mandatory for us to have this scroll.

autocomplete: {
source: values,
delay: 10,
focus: function (event, ui) {
showAutocompleteOnFocus: true

//prevent adding duplicate values
$(usersList).on('tokenfield:createtoken', function (event) {
var existingTokens = $(this).tokenfield('getTokens');
$.each(existingTokens, function(index, token) {
if (token.value === event.attrs.value)

Answer Source

Found alter controllers that fit me thanks to Atlassian.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download