*: Added autofocus on all forms' first input or select.
the build was successful

This commit is contained in:
2018-10-31 23:31:40 +01:00
parent 5be6b1ecec
commit 7a1884d1cf
15 changed files with 15 additions and 15 deletions
@@ -1,5 +1,5 @@
<label>Search</label>
<input key="search" placeholder="" class="big" value=state.search />
<input key="search" autofocus placeholder="" class="big" value=state.search />
<label>Filters</label>
<div if(state.search.length > 0) class="filter-row" >
@@ -6,7 +6,7 @@ import moment from "moment"
<p key="error" class="color-error">${state.error}</p>
<label>Title</label>
<input key="title" placeholder="(Optional)" class="big" on-change("change", "title") value=state.values.title />
<input key="title" autofocus placeholder="(Optional)" class="big" on-change("change", "title") value=state.values.title />
<label>Date</label>
<input key="date" placeholder="(Required)" on-change("change", "date") value=state.values.date />