From 16abd26a0feea8436a9681bbec21704e7170f68b Mon Sep 17 00:00:00 2001 From: Casey Holzer Date: Fri, 14 Jul 2017 13:14:15 -0600 Subject: [PATCH] on button blur, trigger blur on select (HTML5 validation - #1764) --- js/bootstrap-select.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index 18d36ba24..323d4059a 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -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'); + }); }); }