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.

Dropdown just refusing to show up?

See original GitHub issue

I’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:closed
  • Created 8 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
zevsuldcommented, Oct 21, 2015

@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

0reactions
allebdcommented, Aug 7, 2018

This below solved it for me

$(document).ready(function(){ $(‘select’).not(‘.disabled’).formSelect(); });

Read more comments on GitHub >

github_iconTop 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 >

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