Mercurial > projects > booket
diff booket.html @ 5:39c95b9826d2
Add autocompletion for tags
author | Guido Berhoerster <guido+booket@berhoerster.name> |
---|---|
date | Tue, 09 Sep 2014 20:23:58 +0200 |
parents | e78c3356b585 |
children | e9ad4c625b7a |
line wrap: on
line diff
--- a/booket.html Mon Sep 08 20:05:35 2014 +0200 +++ b/booket.html Tue Sep 09 20:23:58 2014 +0200 @@ -34,9 +34,11 @@ <p>Version 1</p> </header> + <datalist id="tag-datalist"></datalist> + <template id="tag-input-template"> <li><label>Tag <input type="text" name="tag" pattern="[^,;]*" - size="20" placeholder="tag"></input> + size="20" list="tag-datalist" placeholder="tag"></input> </label></li> </template>