I want to add autocomplete input to custom list form.
It seems that cause of list form (not record) I can't use varchar autocomplete.
I add input to custom tpl:
....
{{#if showRoot}}
<divclass="root-item">
<inputid="tagsearch"name="tagsearch"/>
....
In appropriate view:
afterRender()
{
Dep.prototype.afterRender.call(this);
varavailableTags= [
"ActionScript",
"AppleScript",
.... $("#tagsearch").autocomplete({source:availableTags});
Please, what should I add for autocomplete to work ?
It seems that cause of list form (not record) I can't use varchar autocomplete.
I add input to custom tpl:
....
{{#if showRoot}}
<divclass="root-item">
<inputid="tagsearch"name="tagsearch"/>
....
In appropriate view:
afterRender()
{
Dep.prototype.afterRender.call(this);
varavailableTags= [
"ActionScript",
"AppleScript",
.... $("#tagsearch").autocomplete({source:availableTags});
Please, what should I add for autocomplete to work ?