feat: add enter to submit
This commit is contained in:
@@ -116,6 +116,11 @@ function AddApplicationForm() {
|
||||
className="px-2"
|
||||
type="text"
|
||||
placeholder="Application name"
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === "Enter") {
|
||||
onAddButtonClick()
|
||||
}
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
<div className="flex flex-row space-x-2 mt-2">
|
||||
|
Reference in New Issue
Block a user