We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330dc7e commit 157ba04Copy full SHA for 157ba04
ui/autocomplete.js
@@ -334,6 +334,20 @@ $.widget( "ui.autocomplete", {
334
this.liveRegion.remove();
335
},
336
337
+ _elementsFromClassKey: function( classKey ) {
338
+ switch ( classKey ) {
339
+ case "ui-autocomplete":
340
+ return this.menu.element;
341
+ case "ui-autocomplete-loading":
342
+ if ( !this.element.hasClass( "ui-autocomplete-loading" ) ) {
343
+ return $();
344
+ }
345
+ break;
346
+ default:
347
+ return this._superApply( arguments );
348
349
+ },
350
+
351
_setOption: function( key, value ) {
352
this._super( key, value );
353
if ( key === "source" ) {
0 commit comments