(bug 38686) Autocompletion support

Provide atocopletion capabilities to the search box: showing the remaining
 part of the matching element and allow user selection with keyboard.

Change-Id: Ic591c3c87632fb56af16b9b15ecedbf9558d674a
This commit is contained in:
pginer
2012-07-25 21:29:56 +02:00
committed by Santhosh Thottingal
parent 5b055bdf5b
commit d8038afad9
4 changed files with 85 additions and 16 deletions

View File

@@ -92,8 +92,11 @@
<div class="one column">
<span class="search-label"></span>
</div>
<div class="ten columns">
<input type="text" class="filterinput" id="languagefilter" placeholder="Language search" autocomplete="off" role="textbox" style="" bound="true"/>
<div class="ten columns">
<div id="search-input-block">
<input type="text" class="filterinput" id="filtersuggestion" disabled="true" autocomplete="off"/>
<input type="text" class="filterinput" id="languagefilter" data-suggestion="filtersuggestion" placeholder="Language search" autocomplete="off"/>
</div>
</div>
<div class="one column">
<span class="clear-button"></span>