question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: $(...).material_chip is not a function

See original GitHub issue

Is $().material_chip not supported by this library? material_select(), lean_modal() and a few other functions are supported, but I cannot get chips to work.

Any ideas?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
rubyboycommented, Jul 28, 2017

@russon77 I’ve added example of how to use chips with angular2-materialize: https://github.com/InfomediaLtd/angular2-materialize/blob/master/sample/src/app/components/chips.ts

@n0mid unfortunately, there’s no support for ngModel with chips. It’s a custom MaterializeCSS component and it doesn’t support two way binding out of the box. I’ll add a separate issue to support that somehow. You’re welcome to implement this support and create a PR, if you wish to help and contribute.

1reaction
hugocalheiracommented, Apr 5, 2017

How to reset/redefine chips init?

Read more comments on GitHub >

github_iconTop Results From Across the Web

materialize - $(...).material_chip is not a function only in chrome
in IE work, firefox too but in chrome i had this error: jquery-3.2.1.js:3869 Uncaught TypeError: $(...).material_chip is not a function ...
Read more >
Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >
How to fix "Uncaught TypeError: x is not a function" in JavaScript
JS Casts 01 - How to fix "Uncaught TypeError : x is not a function " in JavaScript.Visit https://javascriptcasts.com/episodes/01 for a summary ...
Read more >
Why chips events not working correctly? - MDBootstrap
Hi @Sanches,. You are right, the chips 'onSelect' function doesn't work. I think this is a little bug so I will create a...
Read more >
Chip - Android Developers
com.google.android.material.chip.Chip ... Also do not use the android:drawableStart and android:drawableEnd attributes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found