As @cverb says in his answer, this is an IE problem and cannot be blamed on the jQuery user interface. However, I made a workaround that seems to work fine, at least in my project:
Find this code in jquery ui source:
search: function( value, event ) {
value = value != null ? value : this._value();
this.term = this._value();
if ( value.length < this.options.minLength ) {
return this.close( event );
}
Change it to this (add if-block):
search: function( value, event ) {
value = value != null ? value : this._value();
if ( this._value().match(/[æøåÆØÅ]/) && this.term === undefined ) {
return;
}
this.term = this._value();
if ( value.length < this.options.minLength ) {
return this.close( event );
}
Voila! It works. I can not guarantee that I did not violate some other functions, but I am 99.9% sure that I do not :)
source
share