Changes between Initial Version and Version 1 of Ticket #10050, comment 6


Ignore:
Timestamp:
Oct 18, 2016, 9:57:25 AM (6 years ago)
Author:
jGeek314
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10050, comment 6

    initial v1  
    1313The issue of the menu.bindings growing can be seen in even the basic autocomplete example:
    1414
    15 
    16 {{{
    17 <div class="ui-widget">
    18   <label for="tags">Tags: </label>
    19   <input id="tags">
    20 </div>
    21  
    22 <script>
    23 
    24 var availableTags = [
    25   "ActionScript",
    26   "AppleScript",
    27   "Asp"
    28 ];
    29 var autoTest = $( "#tags" ).autocomplete({
    30   source: availableTags,
    31   search: function(e,ui){
    32     console.log(autoTest.data("ui-autocomplete").menu.bindings.length);
    33   }
    34 });
    35 
    36 
    37 </script>
    38 }}}
     15https://jsfiddle.net/jGeek314/L6wspvnb/
    3916
    4017Not sure if the issue I found is exactly the same as what is reported in the ticket, but it seemed close enough to be worth noting here.