mkhairi / materialize-sass

Materializecss rubygem for Rails Asset Pipeline / Sprockets
http://materialize.labs.my/
MIT License
806 stars 243 forks source link

Javascript pickadate selectMonths/selectYears not displaying #158

Closed basicBrogrammer closed 2 years ago

basicBrogrammer commented 7 years ago

I have having a problem with the materialize pickadate. The datepick shows up but the selectMonths and selectYears dropdown are not visible.

Thoughts?

html: = f.input :publication_date, as: :date, wrapper_html: { class: 'm4' } javascript: $('.date').pickadate({ selectMonths: true, // Creates a dropdown to control month selectYears: 15, // Creates a dropdown of 15 years to control year, today: 'Today', clear: 'Clear', close: 'Ok', closeOnSelect: true // Close upon selecting a date, });