Comments (5)
My only thought is make sure you include jquery before you include
AngularJS in your project.
If you can re-create this problem in a plunkr that would help. Otherwise
its hard for me to guess what could be wrong.
On Mon, Feb 2, 2015 at 2:57 AM, Ramesh Lingappa [email protected]
wrote:
Hi,
i have tried to use the angular-selectize js, i have included selectize,
angular, jquery plugins , and i get error as,
TypeError: undefined is not a functionin following line
102: element.selectize(config);following is my usages
$scope.projSelectConfig = { create: false, valueField: "key", labelField: "name", placeholder: 'Select a Project', maxItems: 1, closeAfterSelect: true, onInitialize: function(selectize) { console.log('Initialized',selectize); } };
but it works when i change
element.selectize(config) to $(element).selectize(config)which also make senses, since in selectize documentation, declaration is
made on jquery element.
also am not sure how it works fine in your plunker example.am i doing something wrong, please explain
Thanks!—
Reply to this email directly or view it on GitHub
#36.
from angular-selectize.
Closing this until there is a reproducible example.
from angular-selectize.
This happens if browserify is used. I get the same error and the workaround is the same.
from angular-selectize.
I keep getting this error when im creating a forum. Somone please help!
from angular-selectize.
angular.js:10137 TypeError: n.selectize is not a function
from angular-selectize.
Related Issues (20)
- Allow-Clear Option to Clear the selected value
- Restrict enter key to select the options HOT 1
- NPM repo is out of date HOT 2
- How do I select an item programatically? HOT 1
- can't include in entry webpack file....
- Angular missing as dependency in bower.json
- performance ui-select vs angular-selectize demo
- Impossible to select value in angular 1.6.4 HOT 5
- Is there a way to change maxItems value based on user activity? HOT 1
- Two dataway binding does not respect order - Regular select dropdown does HOT 2
- Angular selectize directive - I can't type in input when I select empty option
- selecting data from list and while reomving it doesnot save data on save button angularjs
- Allow edit mode for selected option HOT 1
- Handle large amount of data HOT 1
- selectize does not load
- Selectize does not seem to work in IE11 with older angular versions HOT 3
- Verision 3.0.2 does not have a release in Github HOT 1
- Input styles
- Label field going thru $sce.trustAsHtml() ? HOT 1
- When selectize-input is focused and i click on it - the Dropdown close and open every click. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-selectize.