1 | <div class="pl-autocomplete {{cls}} {{inEdition ? 'in-edition' : ''}}">
|
2 | {{#if !autoselection || autoselection != 'false'}}
|
3 | <div
|
4 | class="pl-autocomplete-selection {{selectioncls}} {{inEdition ? 'show' : ''}}"
|
5 | style="width: {{selectionWidth}}px;"
|
6 | >{{{selection}}}</div>
|
7 | {{/if}}
|
8 |
|
9 | <input
|
10 | type="text"
|
11 | class="pl-autocomplete-input {{inputcls}}"
|
12 | placeholder="{{placeholder}}"
|
13 | autocomplete="off"
|
14 | spellcheck="false"
|
15 | on-focus="inputFocus"
|
16 | on-blur="inputBlur"
|
17 | on-keydown="inputKeydown"
|
18 | on-keyup="inputKeyup"
|
19 | on-change="inputChange"
|
20 | />
|
21 |
|
22 | <div
|
23 | class="pl-autocomplete-list {{inEdition ? 'open' : ''}} {{listFromBottom ? 'from-bottom' : ''}} {{listcls}}"
|
24 | style="top: {{listTop}}px; width: {{listWidth}}px; height: {{listHeight}}px;"
|
25 | >
|
26 | <div class="pl-autocomplete-list-content">
|
27 | {{#list}}
|
28 | {{> template}}
|
29 | {{/list}}
|
30 | </div>
|
31 | </div>
|
32 | </div>
|