Commit 00ed5aaf authored by Clement Ho's avatar Clement Ho

Make keep typing dropdown item static

parent 5cd90ef9
......@@ -3,10 +3,6 @@
((global) => {
const dropdownData = [{
icon: 'fa-search',
hint: 'Keep typing and press Enter',
tag: '',
},{
icon: 'fa-pencil',
hint: 'author:',
tag: '<author>'
......
......@@ -16,7 +16,14 @@
= icon('filter')
%button.clear-search.hidden{ type: 'button' }
= icon('times')
%ul#js-dropdown-hint.dropdown-menu.hint-dropdown{ 'data-dynamic' => true }
#js-dropdown-hint.dropdown-menu.hint-dropdown
%ul
%li.filter-dropdown-item{ 'data-value': 'none' }
%button.btn.btn-link
= icon('search')
%span
Keep typing and press Enter
%ul.filter-dropdown{ 'data-dynamic' => true }
%li.filter-dropdown-item
%button.btn.btn-link
%i.fa{ 'class': '{{icon}}'}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment