Uncaught TypeError: $(...).material_select is not a function
See original GitHub issueUncaught TypeError: $(…).material_select is not a function
Recently I’ve tried Materialize with Vue2 and Meteor. However, I got a problem where i can’t initialize select
$('select').material_select()
this is my code
-HTML
<div class="input-field">
<select>
<option value="test">Test</option>
</select>
<label for="">Materialize Select</label>
</div>
-JS
export default {
mounted(){
$('select').material_select();
}
}
thanks in advance!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
materialSelect is not a function
Uncaught TypeError : $(...).materialSelect is not a function. I am using $('.mdb-select').materialSelect(); I Got working with html but when I put the same ......
Read more >Materialize material_select is not a function error
Sidenav works just fine, yet material_select() is throwing an Uncaught TypeError. <script src="https://code.jquery.com/jquery-3.2.1.js"> ...
Read more >I got $(...).material_select() is not a function
this is my setup <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Meteor Vue ...
Read more >TypeError: $(...).select2 is not a function in jQuery
To solve the "$(...).select2 is not a function" jQuery error, make sure to load the jQuery library before loading the select2 library.
Read more >uncaught typeerror: $(...).on is not a function - ...
uncaught typeerror : $(...).on is not a function. Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On May 20,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any solution for this?
I had the same problem with version 1.0.0
Solved with <script>M.AutoInit();</script> in the HTML code https://materializecss.com/auto-init.html Hopefully this will help.