Skip to content

Commit

Permalink
on button blur, trigger blur on select (HTML5 validation - #1764)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Jul 14, 2017
1 parent f803fe3 commit 16abd26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@
that.$element.off('rendered.bs.select');
}
});

that.$button.on('blur.bs.select', function() {
that.$element.focus().blur();
that.$button.off('blur.bs.select');
});
});
}

Expand Down

0 comments on commit 16abd26

Please sign in to comment.