*: 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
@@ -6,7 +6,7 @@ $ const selected = (state.selected||{id:null});
<p key="error" class="color-error">${state.error}</p>
<label>Target story</label>
<select key="story" on-change("change", "selected") value=selected.id>
<select key="story" on-change("change", "selected") autofocus value=selected.id>
<option for(story in state.stories) value=story.id selected=(selected.id === story.id)>${story.name}</option>
</select>