Autocomplete + autofocus is annoying
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<%= form_with model: @collection, class: "flex flex-column gap txt-large", data: { controller: "form" } do |form| %>
|
||||
<h2 class="txt-x-large">Create a new collection</h2>
|
||||
<label class="flex align-center gap">
|
||||
<%= form.text_field :name, required: true, class: "input full-width", autofocus: true, placeholder: "Give it a name…", data: { action: "keydown.esc@document->form#cancel" } %>
|
||||
<%= form.text_field :name, required: true, class: "input full-width", autofocus: true, autocomplete: "off",placeholder: "Give it a name…", data: { action: "keydown.esc@document->form#cancel" } %>
|
||||
</label>
|
||||
|
||||
<button type="submit" id="log_in" class="btn btn--reversed center">
|
||||
|
||||
Reference in New Issue
Block a user