From 529d72c2970a7eff46cc83e9a8465d8eec8a5dec Mon Sep 17 00:00:00 2001 From: xenofem Date: Sun, 28 Jun 2020 16:05:22 -0400 Subject: [PATCH] suppress enter key on media description input field --- src/components/post_status_form/post_status_form.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 49291455..76fa30d8 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -270,6 +270,7 @@ v-model="newStatus.mediaDescriptions[file.id]" type="text" :placeholder="$t('post_status.media_description')" + @keydown.enter.prevent="" >