add ctrl-enter submit

This commit is contained in:
2023-11-04 22:40:56 -04:00
parent 03021614b5
commit 1b49b668b3
17 changed files with 102 additions and 82 deletions

View File

@ -10,6 +10,7 @@
phx-target={@myself}
phx-change="validate"
phx-submit="save"
phx-hook="CtrlEnter"
>
<div
:if={@changeset.action && not @changeset.valid?()}