Skip to content

Commit

Permalink
Merge pull request #40 from legalthings/Selectize_shown_as_having_a_v…
Browse files Browse the repository at this point in the history
…alue_when_none_is_selected

Fix material for non selected values
  • Loading branch information
jasny committed May 4, 2017
2 parents 9016944 + 402be75 commit c290d1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/to-material.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ $.fn.toMaterial = function() {
// Add class to the material design to prevent another styles for it.
$docWizard.addClass('material');

// Fix select without material
var $el = $docWizard.find('select');
$el.removeClass('form-control');
$el.parent().addClass('is-empty');

// Added prev-next button to the each step
var $wizardSteps = $docWizard.find('.wizard-step');

Expand Down

0 comments on commit c290d1d

Please sign in to comment.