Dropdown just refusing to show up?
See original GitHub issueI’m trying to use MaterializeCSS in a JS/HTML app that I’m writing and I’ve run into a snag. No matter what I do, the dropdown select box just won’t work. If I use the browser-default class, it shows up. Without that though, nothing shows. Nothing at all, it’s like the HTML elements don’t even exist.
I’m using Materialize 0.97.1 straight off the site as of tonight.
Here is my HTML for this area of the page, you should be able to ignore everything but the <select> tag. I also tried copy/paste from the documentation and it doesn’t work that way either.
<div class="input-field col s6">
<select>
<option>EMD FT</option>
<option>EMD F7-A</option>
<option>EMD GP15-1</option>
</select>
</div>
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Dropdown menu appearing not below parent
I have tried to create a dropdown menu, but for some reason, but sub menu items do not appear directly below the parent....
Read more >Exposed Dropdown Menu failing to display items #349
However in binding, it just fails miserably. The above binding will display only one item in the drop down menu, the one selected...
Read more >Dropdown menu in Zap field is empty or missing items
Check that the item exists. If the missing item still isn't showing up after you've reloaded the dropdown menu items, confirm in your...
Read more >Dropdown Menu: Select Item error - Academy Feedback
Hello, I am experiencing the following error when attempting to click Source: Select Item 'SELECT fileTypeList' (Select Item 'SELECT ...
Read more >Patch with drop down not working - Power Platform Community
But when it come to send the data from Powerapp form to SP . ... If you want to update a choice field...
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 Free
Top 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
@k4kfh thank you. I found an answer on stackoverflow, It works perfectly. If there is someone who have this issue please read this. https://stackoverflow.com/questions/28258106/materialize-css-select-doesnt-seem-to-render
This below solved it for me
$(document).ready(function(){ $(‘select’).not(‘.disabled’).formSelect(); });