diff --git a/dist/full/jquery.ui.combobox.js b/dist/full/jquery.ui.combobox.js index 312ac06..f3d1041 100644 --- a/dist/full/jquery.ui.combobox.js +++ b/dist/full/jquery.ui.combobox.js @@ -35,6 +35,17 @@ $.widget( "ui.combobox", { + options: { + allowCustomValue: false + }, + + _setOption: function(key, value) { + if (key === "allowCustomValue") { + options.allowCustomValue = value; + } + this._super(key, value); + }, + version: "1.1.1", widgetEventPrefix: "combobox", @@ -55,7 +66,8 @@ .addClass("ui-widget ui-widget-content ui-corner-left ui-combobox-input") .val( select.children(':selected').text() ) .attr('tabindex', select.attr( 'tabindex')) - .width($(this.element).width()); + .width($(this.element).width()) + .attr('title', select.children(':selected').text()); wrapper = this.uiCombo = input.wrap( '' ) @@ -70,10 +82,11 @@ minLength: 0, appendTo: wrapper, - source: $.proxy( this, "_linkSelectList" ) + source: $.proxy( this, "_linkSelectList" ), select: function(event, ui) { var selectedObj = ui.item; $(this).attr('title', ui.item.value) + } }); $( "