code: function () {
            var val = this.$menu.find('.active').data('item')
            if(this.options.autoSelect || val){
              this.$element
              .val(this.updater(val))
              .change()
            }
            return this.hide()
          }
docs: add option to disable autoselect of first line see https://github.com/twitter/bootstrap/pull/4164