diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js index 65ab0c6f2..27f237bef 100644 --- a/js/bootstrap-select.js +++ b/js/bootstrap-select.js @@ -304,6 +304,7 @@ actionsBox: false, iconBase: 'glyphicon', tickIcon: 'glyphicon-ok', + showTick: false, template: { caret: '' }, @@ -378,8 +379,8 @@ createDropdown: function () { // Options - // If we are multiple, then add the show-tick class by default - var multiple = this.multiple ? ' show-tick' : '', + // If we are multiple or showTick option is set, then add the show-tick class + var showTick = (this.multiple || this.options.showTick) ? ' show-tick' : '', inputGroup = this.$element.parent().hasClass('input-group') ? ' input-group-btn' : '', autofocus = this.autofocus ? ' autofocus' : ''; // Elements @@ -412,7 +413,7 @@ '' : ''; var drop = - '