Skip to main content


I have created year filter from selection option with manual filter.
In that many options started from 1901 to 2015.

So it is converted to autocomplete.
Now when I am tried to select any year at that time below javascript error occur.
because of that the filter is not working.
61fded68416cd33e12c661f72347c86896b3ec9f.png

TypeError: a is undefined
SelectList.prototype.indexOf(a=undefined)skuid__SkuidJS (line 26)
SelectList.prototype.selectItem(a=undefined)skuid__SkuidJS (line 26)
e.selectItem(a=“2015”, b=undefined)skuid__SkuidJS (line 30)
utils.registerPlugin/$.fn$a](c=“selectItem”)skuid__SkuidJS (line 27)
e.draw/e<.onChange(a=Object { originalEvent={…}, type=“autocompleteselect”, timeStamp=15979453, more…}, b=Object { item={…}})skuid__SkuidJS (line 30)
e.Widget.prototype._trigger(t=“select”, i=Object { originalEvent={…}, type=“autocompleteselect”, timeStamp=15979453, more…}, s=Object { item={…}})skuid__JQuery (line 7)
._create/<.menuselect(e=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…}, t=Object { item={…}})skuid__JQuery (line 8)
r()skuid__JQuery (line 7)
o.event.dispatch(a=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…})skuid__JQuery (line 3)
o.event.add/r.handle(a=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…})skuid__JQuery (line 3)
o.event.trigger(b=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…}, c=<Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…}, Object { item={…}}], d=ul#ui-id-15.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content, e=undefined)skuid__JQuery (line 3)
.trigger/<()skuid__JQuery (line 3)
.each(a=Objecthul#ui-id-15.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content], b=function(), c=undefined)skuid__JQuery (line 2)
o.prototype.each(a=function(), b=undefined)skuid__JQuery (line 2)
.trigger(a=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…}, b=Object { item={…}})skuid__JQuery (line 3)
e.Widget.prototype._trigger(t=“select”, i=Object { originalEvent={…}, type=“menuselect”, timeStamp=15979453, more…}, s=Object { item={…}})skuid__JQuery (line 7)
.select(t=Object { originalEvent=Event click, type=“click”, timeStamp=15979453, more…})skuid__JQuery (line 8)
e.widget/</h()skuid__JQuery (line 7)
._create/<;“click .ui-menu-item”](t=Object { originalEvent=Event click, type=“click”, timeStamp=15979453, more…})skuid__JQuery (line 7)
r()skuid__JQuery (line 7)
o.event.dispatch(a=Object { originalEvent=Event click, type=“click”, timeStamp=15979453, more…})skuid__JQuery (line 3)
o.event.add/r.handle(a=click clientX=195, clientY=228)

Let me know how to resolve this error.








I’ve looked at your page. You do not need so much complexity in your manual source.


Have each entry in the manual source affect the default condition and pass the year’s value. See image below.



Alternatively, you should create an aggregate query from the data - grouping on year. Then you can make the option source of your filter be the values in that model.


I think you should try one of these before we dig much further.


Thanks.Rob.


Reply