Skip to content

Commit

Permalink
Merge pull request #157 from italia/feature/156-select-label-position
Browse files Browse the repository at this point in the history
Fix select label positioning #156
  • Loading branch information
francescozaia committed Jul 3, 2018
2 parents 0cb6d5c + a84fe76 commit 35a1649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/plugins/custom-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const Select = (($) => {
} else {
that._customElement.find('li').removeClass('active');
$this.toggleClass('active');
$newSelect.val($this.text());
$newSelect.val($this.text().trim());
}

that._activateOption(that._customElement, $this);
Expand Down

0 comments on commit 35a1649

Please sign in to comment.