Is there a way to use "mixed mode" for autocomplete
Hi,
What I mean is, we know how to do value/label pair for items, i.e.
var availableTags = [
{value:"1",label:"apple"},
{value:"2",label:"orange"}
]
What I wonder is, if we can do something like
var availableTags = [
{value:"1",label:"apple"},
{value:"2",label:"orange"},
{123,234,345}
]
so that we can perform autocomplete by either ID or Name. Doable?
Thanks in advance.