"use strict"; // // Takes a input form element and a hidden form element (to store the selected id in) along with an array of objects, to build a dropdown select control that allows the user to type part of the selection to filter the list. // Modified for meteor. // (function($) { let Combo = function($input, $hidden, options) { let _this = this; this.focusCounter = 0; this.$input = $input; this.$hidden = $hidden; this.options = $.extend({}, Combo.DEFAULTS, options); this.$selected = null; this.$listContainer = $('
', {style: 'position: relative; height: 0;'}); this.$list = $('