From c4f1be2b766c9add4af1926019415f5942866661 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 9 Feb 2022 18:04:16 +0000 Subject: [PATCH 01/36] :children_crossing: Pressing enter submits login form (#483) --- src/components/FormElements/Input.vue | 2 ++ src/views/Login.vue | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/FormElements/Input.vue b/src/components/FormElements/Input.vue index 42ec58afbd..c0b81b379a 100644 --- a/src/components/FormElements/Input.vue +++ b/src/components/FormElements/Input.vue @@ -14,6 +14,7 @@ :name="name" :id="name" :placeholder="placeholder" + @keyup.enter="onEnter ? onEnter() : () => {}" class="input-field" />

- - @@ -38,6 +38,7 @@ v-model="timeout" :selectOnTab="true" :options="dropDownMenu" + :map-keydown="(map) => ({ ...map, 13: () => this.submitLogin() })" class="login-time-dropdown" />