feat: autofocus on dialog
This commit is contained in:
parent
2af23f4042
commit
a32789b90c
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ defmodule MvWeb.CustomFieldLive.Index do
|
|||
value={@slug_confirmation}
|
||||
placeholder={gettext("Enter slug to confirm")}
|
||||
autocomplete="off"
|
||||
phx-mounted={JS.focus()}
|
||||
class="input input-bordered w-full"
|
||||
/>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue