Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

TypeError: this.$input.autocomplete is not a function[Learn More] #338

Open
fanux365 opened this issue Jun 4, 2018 · 0 comments
Open

TypeError: this.$input.autocomplete is not a function[Learn More] #338

fanux365 opened this issue Jun 4, 2018 · 0 comments

Comments

@fanux365
Copy link

fanux365 commented Jun 4, 2018

TypeError: this.$input.autocomplete is not a function[Learn More]
I use this:
<script src="https://code.jquery.com/jquery-1.9.0.min.js" integrity="sha256-f6DVw/U4x2+HjgEqw5BZf67Kq/5vudRZuRkljnbF344=" crossorigin="anonymous"></script> <link rel="stylesheet" type="text/css" href="{% static 'bootstrap-tokenfield.min.css' %}" /> <link rel="stylesheet" type="text/css" href="{% static 'tokenfield-typeahead.min.css' %}" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <script src="{% static 'bootstrap-tokenfield.min.js' %}"></script>
<input type="text" class="form-control" id="tokenfield" value="red,green,blue" /> <script>$('#tokenfield').tokenfield({ autocomplete: { source: ['red','blue','green','yellow','violet','brown','purple','black','white'], delay: 100 }, showAutocompleteOnFocus: true })</script>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant