Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeahead bootstrap 4 add multiple values

var $myTextarea = $('#myTextarea');

$('.typeahead').typeahead({
    source: source,
    updater: function(item) {
        $myTextarea.append(item, ' ');
        return '';
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typeahead #bootstrap #add #multiple #values
ADD COMMENT
Topic
Name
2+6 =