Announcement

Collapse
No announcement yet.

add autocomplete input to list form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • add autocomplete input to list form

    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 ?


    Last edited by Zuzz; 07-01-2024, 03:44 PM.
Working...
X