add placeholder into the search box

The placeholder should help a little bit with the syntax.
This commit is contained in:
2017-04-19 20:20:11 +02:00
parent 5ab6309fc5
commit 0ebd657b99

View File

@@ -16,7 +16,7 @@
</div> </div>
<div id="search-bar"> <div id="search-bar">
<div id="search-input-wrapper"> <div id="search-input-wrapper">
<input id="search-input" data-autocomplete="autocomplete" <input id="search-input" placeholder="field=value and anotherField=anotherValue" data-autocomplete="autocomplete"
data-autocomplete-empty-message="nothing found" /> data-autocomplete-empty-message="nothing found" />
</div> </div>
<label for="search-group-by-1">Group By:</label> <label for="search-group-by-1">Group By:</label>
@@ -36,7 +36,7 @@
<input id="search-date-from" class="input_date" type="text" value="{{oldestValue}}"> <input id="search-date-from" class="input_date" type="text" value="{{oldestValue}}">
<label for="search-date-range">Interval:</label> <label for="search-date-range">Interval:</label>
<input id="search-date-range" type="text" list="ranges" required="" value="1 week" pattern="\d+ (second|minute|hour|day|week|month)s?"> <input id="search-date-range" type="text" list="ranges" required="required" value="1 week" pattern="\d+ (second|minute|hour|day|week|month)s?">
<datalist id="ranges"> <datalist id="ranges">
<option value="60 seconds"> <option value="60 seconds">
<option value="5 minutes"> <option value="5 minutes">